for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Imanghafoori\HeyMan;
class Chain
{
/**
* @var \Imanghafoori\HeyMan\Chain
*/
private $chainInfo = [];
public function startChain()
$this->chainInfo = [];
array()
array
Imanghafoori\HeyMan\Chain
$chainInfo
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..
}
public function get($key)
return $this->chainInfo[$key] ?? null;
public function set($key, $value)
$this->chainInfo[$key] = $value;
public function push($key, $value)
$this->chainInfo[$key][] = $value;
* ViewEventManager constructor.
*
* @param $manager
* @param array $values
* @param string $param
public function init($manager, array $values, string $param = 'default')
$this->set('manager', $manager);
$this->set('watchedEntities', $values);
$this->set('event', $param);
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..