Refactor Prop model to use enum for data types; remove PropDataType model and update related requests and migrations
This commit is contained in:
@@ -39,4 +39,9 @@ class PropableModels
|
||||
|
||||
return $modelClass;
|
||||
}
|
||||
|
||||
public static function aliasFor(string $modelClass): ?string
|
||||
{
|
||||
return array_search($modelClass, static::map(), true) ?: null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user