| @@ -96,7 +96,7 @@ discard block | ||
| 96 | 96 | public static function first($table, $id) | 
| 97 | 97 |      { | 
| 98 | 98 | $table = self::parseSqlTable($table)['table']; | 
| 99 | -        if (! is_array($id)) { | |
| 99 | +        if (!is_array($id)) { | |
| 100 | 100 | $pk = DbInspector::findPK($table); | 
| 101 | 101 | |
| 102 | 102 | return DB::table($table)->where($pk, $id)->first(); | 
| @@ -122,7 +122,7 @@ discard block | ||
| 122 | 122 | $controllerName = basename($controllerName); | 
| 123 | 123 | $routeUrl = route($controllerName.'GetIndex'); | 
| 124 | 124 | |
| 125 | -        if (! $path) { | |
| 125 | +        if (!$path) { | |
| 126 | 126 | return trim($routeUrl, '/'); | 
| 127 | 127 | } | 
| 128 | 128 | |
| @@ -152,7 +152,7 @@ discard block | ||
| 152 | 152 |      { | 
| 153 | 153 | $tables = DbInspector::listTables(); | 
| 154 | 154 | |
| 155 | -        $filter = function ($tableName) { | |
| 155 | +        $filter = function($tableName) { | |
| 156 | 156 | |
| 157 | 157 |              if ($tableName == config('database.migrations')) { | 
| 158 | 158 | return false; |