Completed
Pull Request — master (#1550)
by Massimiliano
02:13
created
lib/Elastica/Bulk/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-     * @param string|Index $index
130
+     * @param string $index
131 131
      *
132 132
      * @return $this
133 133
      */
Please login to merge, or discard this patch.
lib/Elastica/Bulk/Action/AbstractDocument.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Elastica/Bulk.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.