Skip to content

add more types

add more types #73

Triggered via push June 7, 2024 08:59
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
phpstan: src/BackupDestination/BackupCollection.php#L18
Parameter #1 $callback of method Illuminate\Support\Collection<int,Spatie\Backup\BackupDestination\Backup>::filter() expects (callable(Spatie\Backup\BackupDestination\Backup, int): bool)|null, Closure(string): bool given.
phpstan: src/BackupDestination/BackupCollection.php#L19
Parameter #1 $callback of method Illuminate\Support\Collection<int,Spatie\Backup\BackupDestination\Backup>::map() expects callable(Spatie\Backup\BackupDestination\Backup, int): Spatie\Backup\BackupDestination\Backup, Closure(string): Spatie\Backup\BackupDestination\Backup given.
phpstan: src/Exceptions/CannotCreateDbDumper.php#L16
Parameter #1 $callback of method Illuminate\Support\Collection<int,int>::map() expects callable(int, int): string, Closure(string): non-falsy-string given.
phpstan
Process completed with exit code 1.