@@ -354,7 +354,7 @@ protected function loadModels()
354354    /** 
355355     * cast the properties's type from $casts. 
356356     * 
357-      * @param \Illuminate\Database\Eloquent\ Model $model 
357+      * @param Model $model 
358358     */ 
359359    public  function  castPropertiesType ($ model
360360    {
@@ -498,7 +498,7 @@ protected function getTypeOverride($type)
498498    /** 
499499     * Load the properties from the database table. 
500500     * 
501-      * @param \Illuminate\Database\Eloquent\ Model $model 
501+      * @param Model $model 
502502     * 
503503     * @throws DBALException If custom field failed to register 
504504     */ 
@@ -602,7 +602,7 @@ public function getPropertiesFromTable($model)
602602    }
603603
604604    /** 
605-      * @param \Illuminate\Database\Eloquent\ Model $model 
605+      * @param Model $model 
606606     */ 
607607    public  function  getPropertiesFromMethods ($ model
608608    {
@@ -777,7 +777,7 @@ public function getPropertiesFromMethods($model)
777777                                            'int|null ' ,
778778                                            true ,
779779                                            false 
780-                                         // What kind of comments should be added to the relation count here? 
780+                                              // What kind of comments should be added to the relation count here? 
781781
782782                                    }
783783                                } elseif  (
@@ -1126,7 +1126,7 @@ protected function getCollectionClass($className)
11261126            return  '\Illuminate\Database\Eloquent\Collection ' ;
11271127        }
11281128
1129-         /** @var \Illuminate\Database\Eloquent\ Model $model */ 
1129+         /** @var Model $model */ 
11301130        $ modelnew  $ className
11311131        return  '\\'  . get_class ($ modelnewCollection ());
11321132    }
@@ -1285,7 +1285,7 @@ protected function getReturnTypeFromReflection(\ReflectionMethod $reflection): ?
12851285
12861286    /** 
12871287     * Generates methods provided by the SoftDeletes trait 
1288-      * @param \Illuminate\Database\Eloquent\ Model $model 
1288+      * @param Model $model 
12891289     */ 
12901290    protected  function  getSoftDeleteMethods ($ model
12911291    {
@@ -1302,7 +1302,7 @@ protected function getSoftDeleteMethods($model)
13021302    /** 
13031303     * Generate factory method from "HasFactory" trait. 
13041304     * 
1305-      * @param \Illuminate\Database\Eloquent\ Model $model 
1305+      * @param Model $model 
13061306     */ 
13071307    protected  function  getFactoryMethods ($ model
13081308    {
@@ -1335,7 +1335,7 @@ protected function getFactoryMethods($model)
13351335
13361336    /** 
13371337     * Generates methods that return collections 
1338-      * @param \Illuminate\Database\Eloquent\ Model $model 
1338+      * @param Model $model 
13391339     */ 
13401340    protected  function  getCollectionMethods ($ model
13411341    {
@@ -1378,7 +1378,7 @@ protected function checkForCastableCasts(string $type, array $params = []): stri
13781378            return  $ type
13791379        }
13801380
1381-         $ reflectionnew  \ ReflectionClass ($ type
1381+         $ reflectionnew  ReflectionClass ($ type
13821382
13831383        if  (!$ reflectionimplementsInterface (Castable::class)) {
13841384            return  $ type
@@ -1410,7 +1410,7 @@ protected function checkForCustomLaravelCasts(string $type): ?string
14101410            return  $ type
14111411        }
14121412
1413-         $ reflectionnew  \ ReflectionClass ($ type
1413+         $ reflectionnew  ReflectionClass ($ type
14141414
14151415        if  (!$ reflectionimplementsInterface (CastsAttributes::class)) {
14161416            return  $ type
@@ -1616,7 +1616,7 @@ protected function getReflectionNamedType(ReflectionNamedType $paramType): strin
16161616    }
16171617
16181618    /** 
1619-      * @param \Illuminate\Database\Eloquent\ Model $model 
1619+      * @param Model $model 
16201620     * @throws \Illuminate\Contracts\Container\BindingResolutionException 
16211621     * @throws \RuntimeException 
16221622     */ 
0 commit comments