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:
parent
a9aa7e7aae
commit
351a68a14c
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user