types #60
Annotations
11 errors
Run PHPStan:
src/actions/AddComponent.php#L27
Cannot call method getType() on array|yii\db\ActiveRecordInterface|null.
|
Run PHPStan:
src/actions/AddComponent.php#L34
Access to an undefined property markhuot\keystone\models\ComponentData::$type.
|
Run PHPStan:
src/actions/AddComponent.php#L40
Access to an undefined property markhuot\keystone\models\ComponentData::$id.
|
Run PHPStan:
src/actions/AddComponent.php#L41
Access to an undefined property markhuot\keystone\models\Component::$path.
|
Run PHPStan:
src/actions/AddComponent.php#L42
Access to an undefined property markhuot\keystone\models\Component::$slot.
|
Run PHPStan:
src/actions/AddComponent.php#L43
Access to an undefined property markhuot\keystone\models\Component::$type.
|
Run PHPStan:
src/actions/AddComponent.php#L44
Access to an undefined property markhuot\keystone\models\Component::$sortOrder.
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L24
Method markhuot\keystone\actions\CompileTwigComponent::__construct() has parameter $handle with no type specified.
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L24
Method markhuot\keystone\actions\CompileTwigComponent::__construct() has parameter $twigPath with no type specified.
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L30
Method markhuot\keystone\actions\CompileTwigComponent::handle() has no return type specified.
|
Run Pest
Process completed with exit code 2.
|