Skip to content

Commit 5d6ed09

Browse files
committed
Ignore generic types on relationships
1 parent a8431f5 commit 5d6ed09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ parameters:
2626
# Ignore relationship generics
2727
- '#Generic type Illuminate\\Database\\Eloquent\\Relations\\#'
2828
- '#should return Illuminate\\Database\\Eloquent\\Relations\\.*?but returns.*Illuminate\\Database\\Eloquent\\Relations\\#'
29+
- '#return type with generic class does not specify its types:#'
2930

3031
# Laravel-Ide-Helper integration
3132
- '#PHPDoc tag @mixin contains unknown class Eloquent#'

0 commit comments

Comments
 (0)