Skip to content

Commit

Permalink
Support instance of application in Lumen (barryvdh#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
Except10n authored and barryvdh committed Dec 24, 2017
1 parent 0c878d5 commit 72fce8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DataCollector/FilesCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@

use DebugBar\DataCollector\DataCollector;
use DebugBar\DataCollector\Renderable;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Container\Container;

class FilesCollector extends DataCollector implements Renderable
{
/** @var \Illuminate\Contracts\Foundation\Application */
/** @var \Illuminate\Container\Container */
protected $app;
protected $basePath;

/**
* @param \Illuminate\Contracts\Foundation\Application $app
* @param \Illuminate\Container\Container $app
*/
public function __construct(Application $app = null)
public function __construct(Container $app = null)
{
$this->app = $app;
$this->basePath = base_path();
Expand Down

0 comments on commit 72fce8d

Please sign in to comment.