Skip to content

fake phpstan passing #100

fake phpstan passing

fake phpstan passing #100

Triggered via push October 29, 2023 21:20
Status Success
Total duration 2m 14s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run PHPStan: src/actions/AddComponent.php#L14
Method markhuot\keystone\actions\AddComponent::handle() has parameter $data with no value type specified in iterable type array.
Run PHPStan: src/actions/AddComponent.php#L41
Access to an undefined property markhuot\keystone\models\Component::$type.
Run PHPStan: src/actions/AddComponent.php#L42
Access to an undefined property markhuot\keystone\models\Component::$sortOrder.
Run PHPStan: src/actions/AddComponent.php#L54
Method markhuot\keystone\actions\AddComponent::createDefaultChildrenFor() has no return type specified.
Run PHPStan: src/actions/AddComponent.php#L63
Method markhuot\keystone\actions\AddComponent::createDefaultsFor() has no return type specified.
Run PHPStan: src/actions/AddComponent.php#L63
Method markhuot\keystone\actions\AddComponent::createDefaultsFor() has parameter $slotDefaults with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
Run PHPStan: src/actions/AddComponent.php#L65
Parameter #1 $value of function collect expects Illuminate\Contracts\Support\Arrayable<(int|string), mixed>|iterable<(int|string), mixed>|null, mixed given.
Run PHPStan: src/actions/AddComponent.php#L65
Parameter #4 $config of method markhuot\keystone\actions\AddComponent::createChild() expects array, mixed given.
Run PHPStan: src/actions/AddComponent.php#L65
Unable to resolve the template type TKey in call to function collect
Run PHPStan: src/actions/AddComponent.php#L65
Unable to resolve the template type TValue in call to function collect