@@ -46,7 +46,7 @@ |
||
46 | 46 | $app->bind('app', 'Illuminate\Container\Container'); |
47 | 47 | |
48 | 48 | foreach ($this->PACKAGE_CLASSES as $PACKAGE_CLASS) { |
49 | - $app->bind($PACKAGE_CLASS, $this->VENDOR.'\\'.$this->PACKAGE_NAME.'\\'.$PACKAGE_CLASS); |
|
49 | + $app->bind($PACKAGE_CLASS, $this->VENDOR . '\\' . $this->PACKAGE_NAME . '\\' . $PACKAGE_CLASS); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | $app->bind('Cache', 'Illuminate\Support\Facades\Cache'); |
@@ -96,7 +96,7 @@ |
||
96 | 96 | */ |
97 | 97 | public function getMethods() |
98 | 98 | { |
99 | - return (new ReflectionHelper())->getClassMethodsNames($this,\ReflectionMethod::IS_PUBLIC); |
|
99 | + return (new ReflectionHelper())->getClassMethodsNames($this, \ReflectionMethod::IS_PUBLIC); |
|
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | class BaseAuthModel extends Authenticatable |
15 | 15 | { |
16 | - use Searchable, PivotEventTrait,Notifiable, HasApiTokens, MetaTrait; |
|
16 | + use Searchable, PivotEventTrait, Notifiable, HasApiTokens, MetaTrait; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * default relations of method |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function getMethods() |
102 | 102 | { |
103 | - return (new LaravelReflectionHelper())->getClassMethodsNames($this,\ReflectionMethod::IS_PUBLIC); |
|
103 | + return (new LaravelReflectionHelper())->getClassMethodsNames($this, \ReflectionMethod::IS_PUBLIC); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -154,8 +154,7 @@ |
||
154 | 154 | $this->model |
155 | 155 | ->whereKey(collect($this->model |
156 | 156 | ->search(($request->get('query'))) |
157 | - ->raw())->get('ids')) : |
|
158 | - $this->model; |
|
157 | + ->raw())->get('ids')) : $this->model; |
|
159 | 158 | if (array_key_exists('file', $request->toArray())) { |
160 | 159 | //TODO add relation on top if here and create a tree flatter array in array helper |
161 | 160 | return (new ExcelHelper())->setOptions([ |