Skip to content

Commit 855ff8e

Browse files
committed
Create DocumentModel trait to enable MongoDB on any 3rd party model class
1 parent ffacc6b commit 855ff8e

13 files changed

+822
-792
lines changed

phpstan-baseline.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ parameters:
77

88
-
99
message: "#^Method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:push\\(\\) invoked with 3 parameters, 0 required\\.$#"
10-
count: 2
10+
count: 3
1111
path: src/Relations/BelongsToMany.php
1212

1313
-
1414
message: "#^Method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:push\\(\\) invoked with 3 parameters, 0 required\\.$#"
15-
count: 2
15+
count: 6
1616
path: src/Relations/MorphToMany.php
1717

1818
-

0 commit comments

Comments
 (0)