Accessing attributes on the interface Longman\LaravelLodash\El...t\UuidAsPrimaryContract suggest that you code against a concrete implementation. How about adding an instanceof check?
If you access a property on an interface, you most likely code against a
concrete implementation of the interface.
Accessing attributes on the interface Longman\LaravelLodash\El...t\UuidAsPrimaryContract suggest that you code against a concrete implementation. How about adding an instanceof check?
If you access a property on an interface, you most likely code against a
concrete implementation of the interface.
Accessing attributes on the interface Longman\LaravelLodash\El...t\UuidAsPrimaryContract suggest that you code against a concrete implementation. How about adding an instanceof check?
If you access a property on an interface, you most likely code against a
concrete implementation of the interface.
Accessing attributes on the interface Longman\LaravelLodash\El...t\UuidAsPrimaryContract suggest that you code against a concrete implementation. How about adding an instanceof check?
If you access a property on an interface, you most likely code against a
concrete implementation of the interface.
If you access a property on an interface, you most likely code against a concrete implementation of the interface.
Available Fixes
Adding an additional type check:
Changing the type hint: