@@ -80,7 +80,7 @@ |
||
| 80 | 80 | /** |
| 81 | 81 | * Get the services provided by the provider. |
| 82 | 82 | * |
| 83 | - * @return array |
|
| 83 | + * @return string[] |
|
| 84 | 84 | */ |
| 85 | 85 | public function provides() |
| 86 | 86 | { |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public function register() |
| 34 | 34 | { |
| 35 | - $this->app->singleton('searchIndex', function ($app) { |
|
| 35 | + $this->app->singleton('searchIndex', function($app) { |
|
| 36 | 36 | switch ($app['config']->get('searchindex.engine')) { |
| 37 | 37 | case 'elasticsearch': |
| 38 | 38 | |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | $values = [$values]; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | - $numericalFilterArray = array_map(function ($value) use ($name) { |
|
| 133 | + $numericalFilterArray = array_map(function($value) use ($name) { |
|
| 134 | 134 | return "{$name}={$value}"; |
| 135 | 135 | }, $values); |
| 136 | 136 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /* |
| 22 | 22 | * Specify the path where Elasticsearch will write it's logs. |
| 23 | 23 | */ |
| 24 | - 'logPath' => storage_path() . '/logs/elasticsearch.log', |
|
| 24 | + 'logPath' => storage_path().'/logs/elasticsearch.log', |
|
| 25 | 25 | |
| 26 | 26 | /* |
| 27 | 27 | * Specify how verbose the logging must be |