Skip to content

Commit 482f918

Browse files
committed
ignore Eloquent magically passing arguments
1 parent 2968c34 commit 482f918

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpstan-baseline.neon

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ parameters:
2020
count: 3
2121
path: src/Relations/BelongsToMany.php
2222

23+
-
24+
message: "#^Method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:push\\(\\) invoked with 3 parameters, 0 required\\.$#"
25+
count: 6
26+
path: src/Relations/MorphToMany.php
27+
2328
-
2429
message: "#^Method Illuminate\\\\Database\\\\Schema\\\\Blueprint\\:\\:create\\(\\) invoked with 1 parameter, 0 required\\.$#"
2530
count: 1

0 commit comments

Comments
 (0)