Skip to content

Commit

Permalink
add throws tags doc block for Twig_Environment:load
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen authored and fabpot committed Sep 27, 2017
1 parent a726fc5 commit 882c7aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Twig/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ public function display($name, array $context = array())
*
* @param string|Twig_TemplateWrapper|Twig_Template $name The template name
*
* @throws Twig_Error_Loader When the template cannot be found
* @throws Twig_Error_Runtime When a previously generated cache is corrupted
* @throws Twig_Error_Syntax When an error occurred during compilation
*
* @return Twig_TemplateWrapper
*/
public function load($name)
Expand Down

0 comments on commit 882c7aa

Please sign in to comment.