Skip to content

Commit

Permalink
Correct reference to ArrayableInterface
Browse files Browse the repository at this point in the history
Changed a long time ago: laravel/framework@2698239
  • Loading branch information
stephandesouza committed Nov 6, 2015
1 parent 8a1a99c commit 3ebeab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataCollector/AuthCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use DebugBar\DataCollector\DataCollector;
use DebugBar\DataCollector\Renderable;
use Illuminate\Support\Contracts\ArrayableInterface;
use Illuminate\Contracts\Support\Arrayable;

/**
* Collector for Laravel's Auth provider
Expand Down Expand Up @@ -77,7 +77,7 @@ protected function getUserInformation($user = null)

return array(
'name' => $identifier,
'user' => $user instanceof ArrayableInterface ? $user->toArray() : $user,
'user' => $user instanceof Arrayable ? $user->toArray() : $user,
);
}

Expand Down

0 comments on commit 3ebeab0

Please sign in to comment.