Skip to content

better caching

better caching #148

Triggered via push November 18, 2023 14:50
Status Failure
Total duration 1m 27s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Run PHPStan: src/Keystone.php#L31
Method markhuot\keystone\Keystone::getListeners() return type has no value type specified in iterable type array.
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 Pint
Process completed with exit code 1.
Run Pest
Process completed with exit code 2.