Skip to content

Commit

Permalink
Merge pull request #5 from fullpipe/fix-depricated-source-method-use
Browse files Browse the repository at this point in the history
Fix deprecated method usage
  • Loading branch information
fullpipe authored Apr 20, 2017
2 parents ae1bc89 + 9fa9fe4 commit 62751b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function parse(\Twig_Token $token)
throw new \Twig_Error_Loader(
'Webpack manifest file not exists.',
$token->getLine(),
$stream->getFilename()
$stream->getSourceContext()->getName()
);
}

Expand All @@ -42,7 +42,7 @@ public function parse(\Twig_Token $token)
throw new \Twig_Error_Loader(
'Webpack ' . $this->type() . ' entry ' . $entryName . ' not exists.',
$token->getLine(),
$stream->getFilename()
$stream->getSourceContext()->getName()
);
}

Expand Down

0 comments on commit 62751b8

Please sign in to comment.