Completed
Pull Request — master (#1017)
by Tim
07:39
created
lib/Elastica/Index.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\Exception\ResponseException;
6 6
 use Elastica\Index\Settings as IndexSettings;
7 7
 use Elastica\Index\Stats as IndexStats;
8
-use Elastica\ResultSet\BuilderInterface;
9 8
 
10 9
 /**
11 10
  * Elastica index object.
Please login to merge, or discard this patch.
lib/Elastica/ResultSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
      *
286 286
      * @throws Exception\InvalidException If offset doesn't exist
287 287
      *
288
-     * @return Result|null
288
+     * @return Result
289 289
      */
290 290
     public function offsetGet($offset)
291 291
     {
Please login to merge, or discard this patch.
lib/Elastica/Tool/CrossIndex.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\Index;
6 6
 use Elastica\Query\MatchAll;
7 7
 use Elastica\ScanAndScroll;
8
-use Elastica\Search;
9 8
 use Elastica\Type;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
lib/Elastica/Client.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,12 +80,10 @@
 block discarded – undo
80 80
     public function __construct(array $config = array(), $callback = null)
81 81
     {
82 82
         $dispatcher = isset($config['dispatcher']) ?
83
-            $config['dispatcher'] :
84
-            null;
83
+            $config['dispatcher'] : null;
85 84
         unset($config['dispatcher']);
86 85
         $resultSetBuilder = isset($config['resultSetBuilder']) ?
87
-            $config['resultSetBuilder'] :
88
-            new Builder($dispatcher);
86
+            $config['resultSetBuilder'] : new Builder($dispatcher);
89 87
         unset($config['resultSetBuilder']);
90 88
 
91 89
         $this->_resultSetBuilder = $resultSetBuilder;
Please login to merge, or discard this patch.