Completed
Pull Request — 2.x (#3772)
by Mike
06:34
created
classes/fields/avatar.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Add options and set defaults to
50 50
      *
51
-     * @param array $options
52 51
      *
53 52
      * @since 2.0
54 53
      */
@@ -130,7 +129,7 @@  discard block
 block discarded – undo
130 129
      *
131 130
      * @param array $options
132 131
      *
133
-     * @return array
132
+     * @return boolean
134 133
      * @since 2.0
135 134
      */
136 135
     public function schema ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/boolean.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @param array $options
80 80
      *
81
-     * @return array
81
+     * @return string
82 82
      * @since 2.0
83 83
      */
84 84
     public function schema ( $options = null ) {
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      * @param array $pod
232 232
      * @param object $params
233 233
      *
234
-     * @return int|mixed
234
+     * @return integer
235 235
      * @since 2.0
236 236
      */
237 237
     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, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * @param array $options
103 103
      *
104
-     * @return array
104
+     * @return string
105 105
      * @since 2.0
106 106
      */
107 107
     public function schema ( $options = null ) {
@@ -122,7 +122,6 @@  discard block
 block discarded – undo
122 122
      * @param mixed $value
123 123
      * @param string $name
124 124
      * @param array $options
125
-     * @param array $fields
126 125
      * @param array $pod
127 126
      * @param int $id
128 127
      *
Please login to merge, or discard this patch.
classes/fields/file.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,6 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Add options and set defaults to
61 61
      *
62
-     * @param array $options
63 62
      *
64 63
      * @since 2.0
65 64
      */
@@ -205,7 +204,7 @@  discard block
 block discarded – undo
205 204
      *
206 205
      * @param array $options
207 206
      *
208
-     * @return array
207
+     * @return boolean
209 208
      * @since 2.0
210 209
      */
211 210
     public function schema ( $options = null ) {
@@ -414,7 +413,7 @@  discard block
 block discarded – undo
414 413
      * @param array $fields
415 414
      * @param array $pod
416 415
      *
417
-     * @return mixed|void
416
+     * @return null|string
418 417
      * @since 2.0
419 418
      */
420 419
     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
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      *
122 122
      * @param array $options
123 123
      *
124
-     * @return array
124
+     * @return boolean
125 125
      * @since 2.0
126 126
      */
127 127
     public function schema ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/text.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      *
113 113
      * @param array $options
114 114
      *
115
-     * @return array
115
+     * @return string
116 116
      * @since 2.0
117 117
      */
118 118
     public function schema ( $options = null ) {
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      * @param array $pod
223 223
      * @param object $params
224 224
      *
225
-     * @return mixed|string
225
+     * @return string
226 226
      * @since 2.0
227 227
      */
228 228
     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/time.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      *
127 127
      * @param array $options
128 128
      *
129
-     * @return array
129
+     * @return string
130 130
      * @since 2.0
131 131
      */
132 132
     public function schema ( $options = null ) {
@@ -298,8 +298,8 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-     * @param $format
302
-     * @param $date
301
+     * @param string $format
302
+     * @param string $date
303 303
      *
304 304
      * @return DateTime
305 305
      */
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      * Convert a date from one format to another
330 330
      *
331 331
      * @param $date
332
-     * @param $new_format
332
+     * @param string $new_format
333 333
      * @param $original_format
334 334
      */
335 335
     public function convert_date ( $value, $new_format, $original_format = 'H:i:s' ) {
Please login to merge, or discard this patch.
classes/fields/website.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Add options and set defaults to
50 50
      *
51
-     * @param array $options
52 51
      *
53 52
      * @since 2.0
54 53
      */
@@ -106,7 +105,7 @@  discard block
 block discarded – undo
106 105
      *
107 106
      * @param array $options
108 107
      *
109
-     * @return array
108
+     * @return string
110 109
      * @since 2.0
111 110
      */
112 111
     public function schema ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/wysiwyg.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,6 @@
 block discarded – undo
193 193
      * @param mixed $value
194 194
      * @param string $name
195 195
      * @param array $options
196
-     * @param array $fields
197 196
      * @param array $pod
198 197
      * @param int $id
199 198
      *
Please login to merge, or discard this patch.