for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Encore\Admin\Form\Concerns;
use Encore\Admin\Form\Field;
trait HandleCascadeFields
{
/**
* @var array
*/
protected $dependency;
* @return array
public function getDependency()
return $this->dependency;
}
* @param array $dependency
* @param \Closure $closure
public function callWithDependency(array $dependency, \Closure $closure)
$this->dependency = $dependency;
call_user_func($closure, $this);
$this->dependency = null;
null
array
$dependency
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..
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..