| @@ -83,7 +83,7 @@ discard block | ||
| 83 | 83 | */ | 
| 84 | 84 | public function getDocument() | 
| 85 | 85 |      { | 
| 86 | -        if (! $this->_data instanceof Document) { | |
| 86 | +        if (!$this->_data instanceof Document) { | |
| 87 | 87 | return null; | 
| 88 | 88 | } | 
| 89 | 89 | |
| @@ -97,7 +97,7 @@ discard block | ||
| 97 | 97 | */ | 
| 98 | 98 | public function getScript() | 
| 99 | 99 |      { | 
| 100 | -        if (! $this->_data instanceof AbstractScript) { | |
| 100 | +        if (!$this->_data instanceof AbstractScript) { | |
| 101 | 101 | return null; | 
| 102 | 102 | } | 
| 103 | 103 | |
| @@ -5,7 +5,6 @@ | ||
| 5 | 5 | use Elastica\Bulk\Action\AbstractDocument as AbstractDocumentAction; | 
| 6 | 6 | use Elastica\Bulk\Response as BulkResponse; | 
| 7 | 7 | use Elastica\Bulk\ResponseSet; | 
| 8 | -use Elastica\Exception\Bulk\ResponseException as BulkResponseException; | |
| 9 | 8 | use Elastica\Exception\Bulk\ResponseException; | 
| 10 | 9 | use Elastica\Exception\InvalidException; | 
| 11 | 10 | use Elastica\Script\AbstractScript; | 
| @@ -127,7 +127,7 @@ discard block | ||
| 127 | 127 | } | 
| 128 | 128 | |
| 129 | 129 | /** | 
| 130 | - * @param string|Index $index | |
| 130 | + * @param string $index | |
| 131 | 131 | * | 
| 132 | 132 | * @return $this | 
| 133 | 133 | */ | 
| @@ -170,7 +170,7 @@ discard block | ||
| 170 | 170 | } | 
| 171 | 171 | |
| 172 | 172 | /** | 
| 173 | - * @param string|int $routing | |
| 173 | + * @param string|boolean $routing | |
| 174 | 174 | * | 
| 175 | 175 | * @return $this | 
| 176 | 176 | */ |