Skip to content

Commit 72fce8d

Browse files
Except10nbarryvdh
authored andcommitted
Support instance of application in Lumen (barryvdh#611)
1 parent 0c878d5 commit 72fce8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DataCollector/FilesCollector.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
use DebugBar\DataCollector\DataCollector;
66
use DebugBar\DataCollector\Renderable;
7-
use Illuminate\Contracts\Foundation\Application;
7+
use Illuminate\Container\Container;
88

99
class FilesCollector extends DataCollector implements Renderable
1010
{
11-
/** @var \Illuminate\Contracts\Foundation\Application */
11+
/** @var \Illuminate\Container\Container */
1212
protected $app;
1313
protected $basePath;
1414

1515
/**
16-
* @param \Illuminate\Contracts\Foundation\Application $app
16+
* @param \Illuminate\Container\Container $app
1717
*/
18-
public function __construct(Application $app = null)
18+
public function __construct(Container $app = null)
1919
{
2020
$this->app = $app;
2121
$this->basePath = base_path();

0 commit comments

Comments
 (0)