You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imo, this is a bad rule. Although it is correct in that ?? will shortcircuit any null checks, I strongly prefer it being explicit as to which properties in the chain are nullable and which aren't. In fact, I wish we could enforce explit ?-> over -> when the property is nullable so that it's obvious which properties are null or not.
Copy file name to clipboardExpand all lines: phpstan.neon
+2
Original file line number
Diff line number
Diff line change
@@ -32,3 +32,5 @@ parameters:
32
32
-
33
33
message:'#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Torrent, [a-zA-Z0-9\\_]+\>\:\:searchable\(\)\.$#'
0 commit comments