Completed
Push — master ( 4cc8d7...01120a )
by Russell
02:11
created
code/models/fieldtypes/JSONText.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
     /**
187 187
      * @param array $value
188
-     * @return mixed null|string
188
+     * @return string null|string
189 189
      */
190 190
     public function toJson($value)
191 191
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     }
202 202
 
203 203
     /**
204
-     * @param mixed $value
204
+     * @param string $value
205 205
      * @return array
206 206
      * @throws \JSONText\Exceptions\JSONTextException
207 207
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -383,7 +383,7 @@
 block discarded – undo
383 383
                 ]);
384 384
             
385 385
             if ($operator === $backendOperator && $result = $backendDBApiInst->$routine()) {
386
-               return $result;
386
+                return $result;
387 387
             }
388 388
         }
389 389
         
Please login to merge, or discard this patch.
tests/JSONTextTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -251,6 +251,7 @@
 block discarded – undo
251 251
     /**
252 252
      * Get the contents of a fixture
253 253
      * 
254
+     * @param string $fixture
254 255
      * @return string
255 256
      */
256 257
     private function getFixture($fixture)
Please login to merge, or discard this patch.
code/models/JSONBackend.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
             return $this->jsonText->cache[0];
143 143
         }*/
144 144
         
145
-     //   return $this->jsonText->cache;
145
+        //   return $this->jsonText->cache;
146 146
         
147 147
         return [];
148 148
     }
Please login to merge, or discard this patch.