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
My project started receiving an uptick in Bugsnag errors: Undefined property: WhichBrowser\Model\Os::$version
My solution was to change $result->os->version?->value to $result->os?->version?->value, however, that caused static analysis errors due to $os being non-nullable.
I was forced to temporarily create a stub file which marks the $os property as being nullable to resolve the issue.
The text was updated successfully, but these errors were encountered:
My project started receiving an uptick in Bugsnag errors:
Undefined property: WhichBrowser\Model\Os::$version
My solution was to change
$result->os->version?->value
to$result->os?->version?->value
, however, that caused static analysis errors due to$os
beingnon-nullable
.I was forced to temporarily create a
stub
file which marks the$os
property as being nullable to resolve the issue.The text was updated successfully, but these errors were encountered: