Completed
Push — develop ( df8777...8aa49f )
by Ben
06:15 queued 03:48
created
src/API/AbstractBridge.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * @param Response $response
141 141
      *
142
-     * @return bool|string
142
+     * @return string|false
143 143
      */
144 144
     private function getContentEncoding($response)
145 145
     {
@@ -153,6 +153,10 @@  discard block
 block discarded – undo
153 153
         return false;
154 154
     }
155 155
 
156
+    /**
157
+     * @param string $json
158
+     * @param string $class
159
+     */
156 160
     private function deserialize($json, $class)
157 161
     {
158 162
         $object = null;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Exception;
6 6
 use GroupByInc\API\Util\SerializerFactory;
7
-use GroupByInc\API\Util\UriBuilder;
8 7
 use Httpful\Mime;
9 8
 use Httpful\Request;
10 9
 use Httpful\Response;
Please login to merge, or discard this patch.
src/API/Query.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use GroupByInc\API\Request\RefinementsRequest;
17 17
 use GroupByInc\API\Request\Request;
18 18
 use GroupByInc\API\Request\RestrictNavigation;
19
-use GroupByInc\API\Request\SelectedRefinement;
20 19
 use GroupByInc\API\Request\SelectedRefinementRange;
21 20
 use GroupByInc\API\Request\SelectedRefinementValue;
22 21
 use GroupByInc\API\Request\Sort as RSort;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -426,6 +426,9 @@  discard block
 block discarded – undo
426 426
         array_push($this->customUrlParams, $param);
427 427
     }
428 428
 
429
+    /**
430
+     * @param string $refinementString
431
+     */
429 432
     public function splitRefinements($refinementString)
430 433
     {
431 434
         if (StringUtils::isNotBlank($refinementString)) {
@@ -870,7 +873,7 @@  discard block
 block discarded – undo
870 873
     /**
871 874
      * @param MBias $bias
872 875
      *
873
-     * @return Bias
876
+     * @return MBias
874 877
      */
875 878
     protected static function convertBias($bias)
876 879
     {
Please login to merge, or discard this patch.
src/API/Url/UrlBeautifier.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -342,6 +342,9 @@  discard block
 block discarded – undo
342 342
         return $lastSegment;
343 343
     }
344 344
 
345
+    /**
346
+     * @param string $pathSegmentLookup
347
+     */
345 348
     private function removeUnusedPathSegments(array &$pathSegments, $pathSegmentLookup)
346 349
     {
347 350
         while (count($pathSegments) > strlen($pathSegmentLookup)) {
@@ -389,6 +392,9 @@  discard block
 block discarded – undo
389 392
         }
390 393
     }
391 394
 
395
+    /**
396
+     * @param string $token
397
+     */
392 398
     private function getFieldName($token)
393 399
     {
394 400
         $mapping = $this->tokenToName[$token];
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace GroupByInc\API\Url;
4 4
 
5 5
 use GroupByInc\API\Util\StringBuilder;
6
-use GroupByInc\API\Model\SelectedRefinement;
7 6
 
8 7
 class UrlReplacementRule
9 8
 {
Please login to merge, or discard this patch.
src/API/Url/UrlReplacement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * @param UrlReplacement[] $replacements
152
-     * @return string
152
+     * @return StringBuilder
153 153
      */
154 154
     public static function buildQueryString(array $replacements)
155 155
     {
Please login to merge, or discard this patch.
src/API/Url/UrlReplacementRule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace GroupByInc\API\Url;
4 4
 
5 5
 use GroupByInc\API\Util\StringBuilder;
6
-use GroupByInc\API\Model\SelectedRefinement;
7 6
 
8 7
 class UrlReplacementRule
9 8
 {
Please login to merge, or discard this patch.
src/API/Util/StringBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -71,6 +71,10 @@
 block discarded – undo
71 71
         $this->string = $front . $back;
72 72
     }
73 73
 
74
+    /**
75
+     * @param integer $index
76
+     * @param integer $length
77
+     */
74 78
     public function delete($index, $length = null)
75 79
     {
76 80
         if ($length != null) {
Please login to merge, or discard this patch.