Closed szepeviktor closed 4 months ago
phpstan work on V14 branch
Also setting a return type could be a breaking change if somebody already overwrite those functions,
look at this example https://onlinephp.io/c/e4647
Fatal error: Declaration of B::auditable() must be compatible with Audit::auditable(): Illuminate\Database\Eloquent\Relations\MorphTo
setting a return type could be a breaking change
I know. Please do as you wish.
This PR is a technology demo.
@waelsjaber @jakeydevs Here is how to show model properties to Larastan.