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\Users;
/**
* Base controller
*
*/
class UsersController extends \Baka\Auth\UsersController
{
/*
* fields we accept to create
* @var array
protected $createFields = ['name', 'firstname', 'lastname', 'displayname', 'email', 'password', 'created_at', 'updated_at', 'default_company', 'family'];
protected $updateFields = ['name', 'firstname', 'lastname', 'displayname', 'email', 'password', 'created_at', 'updated_at', 'default_company'];
* set objects
* @return void
public function onConstruct()
$this->model = new Users();
new Gewaer\Models\Users()
Gewaer\Models\Users
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..
}