@@ -146,7 +146,7 @@ |
||
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | - * @return array |
|
| 149 | + * @return string[] |
|
| 150 | 150 | */ |
| 151 | 151 | public function includes() |
| 152 | 152 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | { |
| 39 | 39 | parent::boot($events); |
| 40 | 40 | |
| 41 | - Employee::updated(function () { |
|
| 41 | + Employee::updated(function() { |
|
| 42 | 42 | Artisan::queue('elasticsearch:employees'); |
| 43 | 43 | }); |
| 44 | 44 | } |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public function register() |
| 34 | 34 | { |
| 35 | - $this->app->bind(Elastic::class, function () { |
|
| 35 | + $this->app->bind(Elastic::class, function() { |
|
| 36 | 36 | return new Elastic( |
| 37 | 37 | ClientBuilder::create() |
| 38 | 38 | ->build() |