Skip to content

Commit

Permalink
Avoid namespace conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Nov 24, 2017
1 parent 360263b commit b1e53e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ExceptionHandlerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@

namespace Bkwld\LaravelPug;

use Exception;
use Phug\Util\Exception\LocatedException;
use Pug\Pug;

trait ExceptionHandlerTrait
{
public function filterErrorResponse(Exception $exception, $request, $response)
public function filterErrorResponse(\Exception $exception, $request, $response)
{
if ($this->container->has('laravel-pug.pug')) {
/** @var Pug $pug */
Expand Down

0 comments on commit b1e53e8

Please sign in to comment.