@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function register() |
48 | 48 | { |
49 | - $this->publishes([__DIR__.'/../../../config/search.php' => app()->basePath() . '/config' . ('search.php'), ]); |
|
49 | + $this->publishes([__DIR__.'/../../../config/search.php' => app()->basePath().'/config'.('search.php'), ]); |
|
50 | 50 | |
51 | 51 | $this->registerCommand(Rebuild::class); |
52 | 52 | $this->registerCommand(Destroy::class); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * Delete |
33 | 33 | * |
34 | 34 | * @param Index $index |
35 | - * @param $id |
|
35 | + * @param integer $id |
|
36 | 36 | * @param string|boolean $uid |
37 | 37 | * @return $this |
38 | 38 | */ |
@@ -50,7 +50,7 @@ |
||
50 | 50 | */ |
51 | 51 | public function insert(Index $index, $id, array $fields, $uid = false, array $boostFields = []) |
52 | 52 | { |
53 | - $this->document->addField($this->field('xref_id', (int)$id)); |
|
53 | + $this->document->addField($this->field('xref_id', (int) $id)); |
|
54 | 54 | $this->document = $this->addUid($this->document, $uid); |
55 | 55 | $this->document = $this->addFields($this->document, $fields, $boostFields); |
56 | 56 | self::$lastInsert = $this->document; |