Skip to content

Merge pull request #68 from tarfin-labs/WEB-4267-event-machine-makine… #36

Merge pull request #68 from tarfin-labs/WEB-4267-event-machine-makine…

Merge pull request #68 from tarfin-labs/WEB-4267-event-machine-makine… #36

Triggered via push December 5, 2023 07:56
Status Success
Total duration 31s
Artifacts

larastan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
larastan: database/factories/MachineEventFactory.php#L19
Class Tarfinlabs\EventMachine\Database\Factories\MachineEventFactory extends generic class Illuminate\Database\Eloquent\Factories\Factory but does not specify its types: TModel
larastan: database/factories/MachineEventFactory.php#L31
Parameter $array of function implode expects array|null, array|string given.
larastan: database/factories/MachineEventFactory.php#L39
Parameter $array of function implode expects array|null, array|string given.
larastan: src/Actor/Machine.php#L372
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::filter() expects (callable(mixed, int|string): bool)|null, Closure(Tarfinlabs\EventMachine\Models\MachineEvent): (0|1|false) given.
larastan: src/Actor/Machine.php#L474
Trying to invoke (callable(): mixed)|object but it might not be a callable.
larastan: src/Actor/State.php#L40
Method Tarfinlabs\EventMachine\Actor\State::__construct() has parameter $history with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
larastan: src/Actor/State.php#L135
Part $currentEventBehavior->type (Spatie\LaravelData\Optional|string) of encapsed string cannot be cast to string.
larastan: src/Behavior/EventBehavior.php#L41
Attribute class Spatie\LaravelData\Attributes\WithoutValidation does not have the parameter target.
larastan: src/Behavior/EventBehavior.php#L43
Attribute class Spatie\LaravelData\Attributes\WithoutValidation does not have the parameter target.
larastan: src/Behavior/InvokableBehavior.php#L33
Method Tarfinlabs\EventMachine\Behavior\InvokableBehavior::__construct() has parameter $eventQueue with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue