Closed Jellyfrog closed 3 years ago
I guess this is not 100% right since it can return \Illuminate\Contracts\View\View also, however that doesn't play well with PHPStan.
\Illuminate\Contracts\View\View
Now this works without errors in phpstan;
use Wpb\String_Blade_Compiler\Facades\StringBlade as View; return View::make(['template' => $data['template']->template], $alert)->__toString();
Never mind, this didnt work.
I guess this is not 100% right since it can return
\Illuminate\Contracts\View\View
also, however that doesn't play well with PHPStan.Now this works without errors in phpstan;