Skip to content

Commit 4f9e8b7

Browse files
committed
Use contract for files
1 parent 612a7e8 commit 4f9e8b7

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,21 +4,21 @@
44

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

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

1515
/**
16-
* @param \Illuminate\Foundation\Application $app
16+
* @param \Illuminate\Contracts\Foundation\Application $app
1717
*/
1818
public function __construct(Application $app = null)
1919
{
2020
$this->app = $app;
21-
$this->basePath = $app['path.base'];
21+
$this->basePath = base_path();
2222
}
2323

2424
/**

0 commit comments

Comments
 (0)