for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Imanghafoori\HeyMan;
class ChainManager
{
/**
* @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;
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..