Closed thiagoprz closed 10 months ago
Replacing $modelClass = self::class; with $modelClass = get_called_class(); to have proper inheritance fix on getting the actual current model class on find and findOrFail methods
$modelClass = self::class;
$modelClass = get_called_class();
Replacing
$modelClass = self::class;
with$modelClass = get_called_class();
to have proper inheritance fix on getting the actual current model class on find and findOrFail methods