@@ -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; |