@@ -53,12 +53,12 @@ |
||
| 53 | 53 | |
| 54 | 54 | if (is_array($subject) || $subject instanceof Traversable) { |
| 55 | 55 | $searchableItems = collect($subject) |
| 56 | - ->each(function ($item) { |
|
| 56 | + ->each(function($item) { |
|
| 57 | 57 | if (!$item instanceof Searchable) { |
| 58 | 58 | throw new InvalidArgumentException(); |
| 59 | 59 | } |
| 60 | 60 | }) |
| 61 | - ->flatMap(function ($item) use($indexName) { |
|
| 61 | + ->flatMap(function($item) use($indexName) { |
|
| 62 | 62 | return |
| 63 | 63 | [ |
| 64 | 64 | [ |