Completed
Push — develop ( f97779...50dbcf )
by Ben
02:26
created
src/API/AbstractBridge.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
   /**
148 148
    * @param Response $response
149 149
    *
150
-   * @return bool|string
150
+   * @return string|false
151 151
    */
152 152
   private function getContentEncoding($response)
153 153
   {
@@ -161,6 +161,10 @@  discard block
 block discarded – undo
161 161
     return false;
162 162
   }
163 163
 
164
+  /**
165
+   * @param string $json
166
+   * @param string $class
167
+   */
164 168
   private function deserialize($json, $class)
165 169
   {
166 170
     $object = null;
Please login to merge, or discard this patch.
src/API/Query.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -428,6 +428,9 @@  discard block
 block discarded – undo
428 428
     array_push($this->customUrlParams, $param);
429 429
   }
430 430
 
431
+  /**
432
+   * @param string $refinementString
433
+   */
431 434
   public function splitRefinements($refinementString)
432 435
   {
433 436
     if (StringUtils::isNotBlank($refinementString)) {
@@ -875,7 +878,7 @@  discard block
 block discarded – undo
875 878
   /**
876 879
    * @param MBias $bias
877 880
    *
878
-   * @return Bias
881
+   * @return MBias
879 882
    */
880 883
   protected static function convertBias($bias)
881 884
   {
Please login to merge, or discard this patch.
src/API/Url/UrlBeautifier.php 1 patch
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.
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/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.