@@ -78,7 +78,7 @@ discard block |
||
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 |
||
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 ) { |
@@ -101,7 +101,7 @@ discard block |
||
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 |
||
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 | * |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * |
65 | 65 | * @param array $options |
66 | 66 | * |
67 | - * @return array |
|
67 | + * @return string |
|
68 | 68 | * @since 2.0 |
69 | 69 | */ |
70 | 70 | public function schema ( $options = null ) { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * |
94 | 94 | * @param array $options |
95 | 95 | * |
96 | - * @return array |
|
96 | + * @return string |
|
97 | 97 | * @since 2.0 |
98 | 98 | */ |
99 | 99 | public function schema ( $options = null ) { |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | * @param array $fields |
239 | 239 | * @param array $pod |
240 | 240 | * |
241 | - * @return mixed|string |
|
241 | + * @return string |
|
242 | 242 | * @since 2.0 |
243 | 243 | */ |
244 | 244 | public function ui ( $id, $value, $name = null, $options = null, $fields = null, $pod = null ) { |
@@ -121,7 +121,7 @@ |
||
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 ) { |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * |
162 | 162 | * @param array $options |
163 | 163 | * |
164 | - * @return array |
|
164 | + * @return string |
|
165 | 165 | * @since 2.0 |
166 | 166 | */ |
167 | 167 | public function schema ( $options = null ) { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * @param array $pod |
262 | 262 | * @param object $params |
263 | 263 | * |
264 | - * @return mixed|string |
|
264 | + * @return string |
|
265 | 265 | * @since 2.0 |
266 | 266 | */ |
267 | 267 | public function pre_save ( $value, $id = null, $name = null, $options = null, $fields = null, $pod = null, $params = null ) { |
@@ -48,7 +48,6 @@ discard block |
||
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 | */ |
@@ -118,7 +117,7 @@ discard block |
||
118 | 117 | * |
119 | 118 | * @param array $options |
120 | 119 | * |
121 | - * @return array |
|
120 | + * @return string |
|
122 | 121 | * @since 2.0 |
123 | 122 | */ |
124 | 123 | public function schema ( $options = null ) { |
@@ -193,7 +193,6 @@ |
||
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 | * |
@@ -92,7 +92,7 @@ |
||
92 | 92 | /** |
93 | 93 | * Validate value on a specific type and set default (if empty) |
94 | 94 | * |
95 | - * @param mixed $offset Used to get value of Array or Variable on Object |
|
95 | + * @param string $offset Used to get value of Array or Variable on Object |
|
96 | 96 | * @param mixed $default Used to set default value if it doesn't exist |
97 | 97 | * @param string $type Used to force a specific type of variable (allowed: array, object, integer, absint, boolean) |
98 | 98 | * @param mixed $extra Used in advanced types of variables |