for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gewaer\Api\Controllers;
use Gewaer\Models\Languages;
/**
* Base controller
*
*/
class LanguagesController extends BaseController
{
/*
* fields we accept to create
* @var array
protected $createFields = [];
protected $updateFields = [];
* set objects
* @return void
public function onConstruct()
$this->model = new Languages();
new Gewaer\Models\Languages()
Gewaer\Models\Languages
array
$model
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
$this->additionalSearchFields = [
['is_deleted', ':', 0],
];
}