for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Widgets\Front\Test;
use Ffcms\Core\App;
use Ffcms\Core\Arch\View;
use Ffcms\Core\Arch\Widget as AbstractWidget;
class Widget extends AbstractWidget
{
public $message;
public function init()
if ($this->message === null) {
$this->message = 'Hello, world';
}
public function display()
return App::$View->render('widget/test', null, __DIR__);
null
array
$data
Ffcms\Templex\Engine::render()
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
ignore-type
return App::$View->render('widget/test', /** @scrutinizer ignore-type */ null, __DIR__);