Skip to content

Commit d0c4956

Browse files
committed
update type hint __construct
1 parent ada7661 commit d0c4956

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Flynsarmy/DbBladeCompiler/DbView.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use View, Closure, ArrayAccess;
44
use Illuminate\Contracts\Support\Arrayable;
55
use Illuminate\Contracts\Support\Renderable;
6+
use Illuminate\Config\Repository;
67
use Illuminate\View\Engines\EngineInterface;
78
use Illuminate\Database\Eloquent\Model;
89

@@ -11,10 +12,10 @@ class DbView extends \Illuminate\View\View implements ArrayAccess, Renderable
1112

1213
protected $content_field = null;
1314

14-
/** @var \Illuminate\Config\Repository */
15+
/** @var Repository */
1516
protected $config;
1617

17-
public function __construct($config)
18+
public function __construct(Repository $config)
1819
{
1920
$this->config = $config;
2021
}

0 commit comments

Comments
 (0)