We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913f363 commit ada7661Copy full SHA for ada7661
src/Flynsarmy/DbBladeCompiler/DbView.php
@@ -3,6 +3,7 @@
3
use View, Closure, ArrayAccess;
4
use Illuminate\Contracts\Support\Arrayable;
5
use Illuminate\Contracts\Support\Renderable;
6
+use Illuminate\View\Engines\EngineInterface;
7
use Illuminate\Database\Eloquent\Model;
8
9
class DbView extends \Illuminate\View\View implements ArrayAccess, Renderable
@@ -18,7 +19,11 @@ public function __construct($config)
18
19
$this->config = $config;
20
}
21
- public function setEngine($compiler)
22
+ /**
23
+ * @param EngineInterface $compiler
24
+ * @return DbView
25
+ */
26
+ public function setEngine(EngineInterface $compiler)
27
{
28
$this->engine = $compiler;
29
0 commit comments