Skip to content

Commit ada7661

Browse files
committed
update docblock on setEngine method
1 parent 913f363 commit ada7661

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Flynsarmy/DbBladeCompiler/DbView.php

Lines changed: 6 additions & 1 deletion
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\View\Engines\EngineInterface;
67
use Illuminate\Database\Eloquent\Model;
78

89
class DbView extends \Illuminate\View\View implements ArrayAccess, Renderable
@@ -18,7 +19,11 @@ public function __construct($config)
1819
$this->config = $config;
1920
}
2021

21-
public function setEngine($compiler)
22+
/**
23+
* @param EngineInterface $compiler
24+
* @return DbView
25+
*/
26+
public function setEngine(EngineInterface $compiler)
2227
{
2328
$this->engine = $compiler;
2429

0 commit comments

Comments
 (0)