Skip to content

Commit

Permalink
Merge pull request dingo#674 from lucasmichot/feature/master.avoid-fqn
Browse files Browse the repository at this point in the history
Avoid FQN
  • Loading branch information
jasonlewis committed Oct 13, 2015
2 parents a25c62b + 7c43c3c commit b8e0752
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
namespace Dingo\Api\Http;

use ArrayObject;
use Dingo\Api\Event;
use UnexpectedValueException;
use Dingo\Api\Transformer\Binding;
use Dingo\Api\Event\ResponseIsMorphing;
use Dingo\Api\Event\ResponseWasMorphed;
use Illuminate\Contracts\Support\Arrayable;
use Symfony\Component\HttpFoundation\Cookie;
use Illuminate\Http\Response as IlluminateResponse;
Expand Down Expand Up @@ -127,7 +128,7 @@ protected function fireMorphedEvent()
return;
}

static::$events->fire(new Event\ResponseWasMorphed($this, $this->content));
static::$events->fire(new ResponseWasMorphed($this, $this->content));
}

/**
Expand All @@ -141,7 +142,7 @@ protected function fireMorphingEvent()
return;
}

static::$events->fire(new Event\ResponseIsMorphing($this, $this->content));
static::$events->fire(new ResponseIsMorphing($this, $this->content));
}

/**
Expand Down

0 comments on commit b8e0752

Please sign in to comment.