Skip to content

Commit

Permalink
Fix phpstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Nov 22, 2024
1 parent 8d3cc7c commit 1b39753
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ parameters:
message: "#^Method Illuminate\\\\Database\\\\Schema\\\\Blueprint\\:\\:create\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 1
path: src/Schema/Builder.php

-
message: "#^Call to an undefined method Illuminate\\\\Support\\\\HigherOrderCollectionProxy\\<\\(int\\|string\\), Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:pushSoftDeleteMetadata\\(\\)\\.$#"
count: 1
path: src/Scout/ScoutEngine.php
2 changes: 1 addition & 1 deletion src/Scout/ScoutEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public function lazyMap(Builder $builder, $results, $model): LazyCollection
* Accepted options:
* - wait: bool, default true. Wait for the index to be created.
*
* @param string> $name Collection name
* @param string $name Collection name
* @param array{wait?:bool} $options
*/
public function createIndex($name, array $options = []): void
Expand Down

0 comments on commit 1b39753

Please sign in to comment.