@@ -27,13 +27,13 @@ public function getClassFromFile($file)
2727 }
2828
2929 $ namespace = $ matches [1 ];
30- $ class = $ namespace . '\\' . $ matches [2 ];
30+ $ class = $ namespace. '\\' . $ matches [2 ];
3131
3232 return class_exists ($ class ) ? new ReflectionClass ($ class ) : null ;
3333 }
3434
3535 /**
36- * @param ReflectionClass $class
36+ * @param ReflectionClass $class
3737 *
3838 * @return bool
3939 */
@@ -51,7 +51,7 @@ private function dependsOnModels(ReflectionClass $class)
5151 /**
5252 * Check if the class implements the CRUD methods
5353 *
54- * @param ReflectionClass $class
54+ * @param ReflectionClass $class
5555 *
5656 * @return bool
5757 */
@@ -80,7 +80,7 @@ protected function implementsCrudMethods(ReflectionClass $class)
8080 * and implement the CRUD methods
8181 * and have a dependency on a model
8282 *
83- * @param ReflectionClass $class
83+ * @param ReflectionClass $class
8484 *
8585 * @return bool
8686 */
@@ -93,7 +93,7 @@ public function isRepositoryClass(ReflectionClass $class)
9393 * Check if the class is a service class
9494 * A service class must have a name ending with "Service" or "EloquentService"
9595 *
96- * @param ReflectionClass $class
96+ * @param ReflectionClass $class
9797 *
9898 * @return bool
9999 */
@@ -108,7 +108,7 @@ public function isServiceClass(ReflectionClass $class)
108108 * and implement the CRUD methods
109109 * and have a dependency on a model
110110 *
111- * @param ReflectionClass $class
111+ * @param ReflectionClass $class
112112 *
113113 * @return bool
114114 */
@@ -121,7 +121,7 @@ public function isControllerClass(ReflectionClass $class)
121121 * Check if the class is an action class
122122 * An action class must have a name ending with "Action" or "EloquentAction"
123123 *
124- * @param ReflectionClass $class
124+ * @param ReflectionClass $class
125125 *
126126 * @return bool
127127 */
@@ -134,24 +134,24 @@ public function isActionClass(ReflectionClass $class)
134134 * Check if the class is a class of the given type
135135 * A class of the given type must have a name ending with the given type or "Eloquent" + the given type
136136 *
137- * @param ReflectionClass $class
137+ * @param ReflectionClass $class
138138 * @param $type
139139 *
140140 * @return bool
141141 */
142142 protected function checkClassType (ReflectionClass $ class , $ type )
143143 {
144144 $ type = ucfirst ($ type );
145- return preg_match ('/ ' . $ type . '$/ ' , $ class ->getName ()) === 1
146- || preg_match ('/Eloquent ' . $ type . '$/ ' , $ class ->getName ()) === 1
145+ return preg_match ('/ ' . $ type. '$/ ' , $ class ->getName ()) === 1
146+ || preg_match ('/Eloquent ' . $ type. '$/ ' , $ class ->getName ()) === 1
147147 && $ this ->implementsCrudMethods ($ class )
148148 && $ this ->dependsOnModels ($ class );
149149 }
150150
151151 /**
152152 * Get the type of the given class
153153 *
154- * @param ReflectionClass $class
154+ * @param ReflectionClass $class
155155 *
156156 * @return string
157157 */
0 commit comments