diff options
Diffstat (limited to 'src/Renderer/TwigLoader.php')
-rw-r--r-- | src/Renderer/TwigLoader.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Renderer/TwigLoader.php b/src/Renderer/TwigLoader.php index 3c4c8ab8..1bcbbd71 100644 --- a/src/Renderer/TwigLoader.php +++ b/src/Renderer/TwigLoader.php @@ -10,10 +10,10 @@ class TwigLoader extends FilesystemLoader /** * @param string $name * @param bool $throw - * @return string|false|null + * @return string|null * @throws ErrorLoader */ - public function findTemplate($name, $throw = true) + public function findTemplate(string $name, bool $throw = true): ?string { $extension = '.twig'; $extensionLength = mb_strlen($extension); |