Skip to content

Commit 1b39753

Browse files
committed
Fix phpstan issues
1 parent 8d3cc7c commit 1b39753

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

phpstan-baseline.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ parameters:
2424
message: "#^Method Illuminate\\\\Database\\\\Schema\\\\Blueprint\\:\\:create\\(\\) invoked with 1 parameter, 0 required\\.$#"
2525
count: 1
2626
path: src/Schema/Builder.php
27+
28+
-
29+
message: "#^Call to an undefined method Illuminate\\\\Support\\\\HigherOrderCollectionProxy\\<\\(int\\|string\\), Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:pushSoftDeleteMetadata\\(\\)\\.$#"
30+
count: 1
31+
path: src/Scout/ScoutEngine.php

src/Scout/ScoutEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function lazyMap(Builder $builder, $results, $model): LazyCollection
370370
* Accepted options:
371371
* - wait: bool, default true. Wait for the index to be created.
372372
*
373-
* @param string> $name Collection name
373+
* @param string $name Collection name
374374
* @param array{wait?:bool} $options
375375
*/
376376
public function createIndex($name, array $options = []): void

0 commit comments

Comments
 (0)