We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8bb6aa commit c1db60eCopy full SHA for c1db60e
src/Twig.php
@@ -79,9 +79,9 @@ public function addExtension(\Twig_ExtensionInterface $extension)
79
* @param string $template Template pathname relative to templates directory
80
* @param array $data Associative array of template variables
81
*
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
+ * @throws \Twig\Error\LoaderError When the template cannot be found
+ * @throws \Twig_Error\SyntaxError When an error occurred during compilation
+ * @throws \Twig_Error\RuntimeError When an error occurred during rendering
85
86
* @return string
87
*/
0 commit comments