add more types #73
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.
|