Completed
Pull Request — 2.x (#4569)
by Scott Kingsley
04:52
created
classes/fields/boolean.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 *
83 83
 	 * @param array $options
84 84
 	 *
85
-	 * @return array
85
+	 * @return string
86 86
 	 * @since 2.0
87 87
 	 */
88 88
 	public function schema( $options = null ) {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
 	 * @param array  $pod
261 261
 	 * @param object $params
262 262
 	 *
263
-	 * @return int|mixed
263
+	 * @return integer
264 264
 	 * @since 2.0
265 265
 	 */
266 266
 	public function pre_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
Please login to merge, or discard this patch.
classes/fields/code.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 *
106 106
 	 * @param array $options
107 107
 	 *
108
-	 * @return array
108
+	 * @return string
109 109
 	 * @since 2.0
110 110
 	 */
111 111
 	public function schema( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/datetime.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
 	 * @param array  $pod
267 267
 	 * @param int    $id
268 268
 	 *
269
-	 * @return mixed|null|string
269
+	 * @return string
270 270
 	 * @since 2.0
271 271
 	 */
272 272
 	public function display( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
 	 * @param array  $fields
408 408
 	 * @param array  $pod
409 409
 	 *
410
-	 * @return mixed|null|string
410
+	 * @return false|string
411 411
 	 * @since 2.0
412 412
 	 */
413 413
 	public function ui( $id, $value, $name = null, $options = null, $fields = null, $pod = null ) {
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
 	 * @param string  $date             Defaults to time() if empty.
674 674
 	 * @param boolean $return_timestamp Whether to return the strtotime() or createFromFormat result or not
675 675
 	 *
676
-	 * @return DateTime|null|int|false
676
+	 * @return string
677 677
 	 */
678 678
 	public function createFromFormat( $format, $date, $return_timestamp = false ) {
679 679
 
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
 	 * Convert a date from one format to another
724 724
 	 *
725 725
 	 * @param         $value
726
-	 * @param         $new_format
726
+	 * @param         string $new_format
727 727
 	 * @param string     $original_format
728 728
 	 * @param boolean    $return_timestamp Whether to return the strtotime() or createFromFormat result or not
729 729
 	 *
Please login to merge, or discard this patch.
classes/fields/email.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	 *
108 108
 	 * @param array $options
109 109
 	 *
110
-	 * @return array
110
+	 * @return string
111 111
 	 * @since 2.0
112 112
 	 */
113 113
 	public function schema( $options = null ) {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 	 * @param array  $fields
262 262
 	 * @param array  $pod
263 263
 	 *
264
-	 * @return mixed|string
264
+	 * @return string
265 265
 	 * @since 2.0
266 266
 	 */
267 267
 	public function ui( $id, $value, $name = null, $options = null, $fields = null, $pod = null ) {
Please login to merge, or discard this patch.
classes/fields/html.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 	 *
125 125
 	 * @param array $options
126 126
 	 *
127
-	 * @return array
127
+	 * @return boolean
128 128
 	 * @since 2.0
129 129
 	 */
130 130
 	public function schema( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/number.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 	 * @param array  $pod
224 224
 	 * @param int    $id
225 225
 	 *
226
-	 * @return mixed|null|string
226
+	 * @return string
227 227
 	 * @since 2.0
228 228
 	 */
229 229
 	public function display( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	 * @param int    $id
314 314
 	 * @param null   $params
315 315
 	 *
316
-	 * @return bool|mixed
316
+	 * @return string|boolean
317 317
 	 * @since 2.0
318 318
 	 */
319 319
 	public function validate( $value, $name = null, $options = null, $fields = null, $pod = null, $id = null, $params = null ) {
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
 	 * @param array  $pod
354 354
 	 * @param object $params
355 355
 	 *
356
-	 * @return mixed|string
356
+	 * @return string
357 357
 	 * @since 2.0
358 358
 	 */
359 359
 	public function pre_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
 	 * @param array  $fields
384 384
 	 * @param array  $pod
385 385
 	 *
386
-	 * @return mixed|null|string
386
+	 * @return string
387 387
 	 * @since 2.0
388 388
 	 */
389 389
 	public function ui( $id, $value, $name = null, $options = null, $fields = null, $pod = null ) {
Please login to merge, or discard this patch.
classes/fields/oembed.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	 *
161 161
 	 * @param array $options
162 162
 	 *
163
-	 * @return array
163
+	 * @return string
164 164
 	 * @since 2.0
165 165
 	 */
166 166
 	public function schema( $options = null ) {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 	/**
174 174
 	 * Change the way the value of the field is displayed with Pods::get
175 175
 	 *
176
-	 * @param mixed  $value
176
+	 * @param string  $value
177 177
 	 * @param string $name
178 178
 	 * @param array  $options
179 179
 	 * @param array  $pod
Please login to merge, or discard this patch.
classes/fields/paragraph.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	 *
175 175
 	 * @param array $options
176 176
 	 *
177
-	 * @return array
177
+	 * @return string
178 178
 	 * @since 2.0
179 179
 	 */
180 180
 	public function schema( $options = null ) {
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 	 * @param array  $pod
284 284
 	 * @param object $params
285 285
 	 *
286
-	 * @return mixed|string
286
+	 * @return string
287 287
 	 * @since 2.0
288 288
 	 */
289 289
 	public function pre_save( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) {
Please login to merge, or discard this patch.
classes/fields/password.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 	 *
95 95
 	 * @param array $options
96 96
 	 *
97
-	 * @return array
97
+	 * @return string
98 98
 	 * @since 2.0
99 99
 	 */
100 100
 	public function schema( $options = null ) {
Please login to merge, or discard this patch.