Skip to content

Commit c1db60e

Browse files
committed
Update fetch() annotation to use namespaced errors
1 parent e8bb6aa commit c1db60e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Twig.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ public function addExtension(\Twig_ExtensionInterface $extension)
7979
* @param string $template Template pathname relative to templates directory
8080
* @param array $data Associative array of template variables
8181
*
82-
* @throws Twig_Error_Loader When the template cannot be found
83-
* @throws Twig_Error_Syntax When an error occurred during compilation
84-
* @throws Twig_Error_Runtime When an error occurred during rendering
82+
* @throws \Twig\Error\LoaderError When the template cannot be found
83+
* @throws \Twig_Error\SyntaxError When an error occurred during compilation
84+
* @throws \Twig_Error\RuntimeError When an error occurred during rendering
8585
*
8686
* @return string
8787
*/

0 commit comments

Comments
 (0)