Completed
Push — master ( 9d18b4...301d75 )
by Russell
03:01
created
code/models/fieldtypes/JSONText.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * Tell all class methods to return data as JSON , an array or an array of SilverStripe DBField subtypes.
127 127
      * 
128 128
      * @param string $type
129
-     * @return \JSONText
129
+     * @return JSONText
130 130
      * @throws \JSONText\Exceptions\JSONTextException
131 131
      */
132 132
     public function setReturnType($type)
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      * Convert an array to JSON via json_encode().
202 202
      * 
203 203
      * @param array $value
204
-     * @return mixed null|string
204
+     * @return string null|string
205 205
      */
206 206
     public function toJson(array $value)
207 207
     {
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
     }
243 243
 
244 244
     /**
245
-     * @param mixed $value
245
+     * @param string $value
246 246
      * @return array
247 247
      * @throws \JSONText\Exceptions\JSONTextException
248 248
      */
Please login to merge, or discard this patch.