@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | try { |
| 46 | 46 | NodeHelper::checkAllowedParents($node, $this->path); |
| 47 | - } catch(Twig_Error_Syntax $e) { |
|
| 47 | + } catch (Twig_Error_Syntax $e) { |
|
| 48 | 48 | // reset path since throwing an error prevents doLeaveNode to be called |
| 49 | 49 | $this->path = []; |
| 50 | 50 | throw $e; |