Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Oct 24, 2024
1 parent 57b9501 commit d5bf8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ parameters:
- '#Property Spatie\\Permission\\Contracts\\Permission::\$name \(string\) does not accept mixed\.#'
- '#Property Spatie\\Permission\\Contracts\\Role::\$name \(string\) does not accept mixed\.#'
- '#Return type \(Illuminate\\Database\\Eloquent\\Relations\\BelongsTo<App\\Models\\User, App\\Models\\[a-zA-Z]+>\) of method App\\Models\\[a-zA-Z]+::user\(\) should be compatible with return type \(Illuminate\\Database\\Eloquent\\Relations\\BelongsTo<App\\Models\\User, App\\Models\\Payable>\) of method App\\Models\\Payable::user\(\)#'
- '#Return type \(Illuminate\\Database\\Eloquent\\Relations\\MorphMany<App\\Models\\Payment, App\\Models\\[a-zA-Z]+>) of method App\\Models\\[a-zA-Z]+::payment\(\) should be compatible with return type \(Illuminate\\Database\\Eloquent\\Relations\\MorphMany<App\\Models\\Payment, App\\Models\\Payable>\) of method App\\Models\\Payable::payment\(\)#'
- '#Return type \(Illuminate\\Database\\Eloquent\\Relations\\MorphMany<App\\Models\\Payment, App\\Models\\[a-zA-Z]+>\) of method App\\Models\\[a-zA-Z]+::payment\(\) should be compatible with return type \(Illuminate\\Database\\Eloquent\\Relations\\MorphMany<App\\Models\\Payment, App\\Models\\Payable>\) of method App\\Models\\Payable::payment\(\)#'
- '#Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.#'
- '#Strict comparison using !== between string and null will always evaluate to true\.#'
- '#Strict comparison using === between Illuminate\\Support\\Carbon\|null and false will always evaluate to false\.#'
Expand Down

0 comments on commit d5bf8b3

Please sign in to comment.