1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Remove some return type hints that I missed

This commit is contained in:
Aidan Woods 2019-01-20 15:05:57 +00:00
parent a9aa7e7aae
commit 351a68a14c
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
2 changed files with 8 additions and 4 deletions

View File

@ -17,12 +17,14 @@ final class SafeMode implements Configurable
$this->enabled = $enabled; $this->enabled = $enabled;
} }
public function enabled(): bool /** @return bool */
public function enabled()
{ {
return $this->enabled; return $this->enabled;
} }
public static function initial(): self /** @return self */
public static function initial()
{ {
return new self(false); return new self(false);
} }

View File

@ -17,12 +17,14 @@ final class StrictMode implements Configurable
$this->enabled = $enabled; $this->enabled = $enabled;
} }
public function enabled(): bool /** @return bool */
public function enabled()
{ {
return $this->enabled; return $this->enabled;
} }
public static function initial(): self /** @return self */
public static function initial()
{ {
return new self(false); return new self(false);
} }