Completed
Pull Request — 2.x (#3748)
by Ramon van
05:28
created
sql/upgrade/PodsUpgrade_2_1_0.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
     /**
19
-     * @return array|bool|int|mixed|null|void
19
+     * @return integer
20 20
      */
21 21
     public function prepare_relationships () {
22 22
         $relationship_fields = $this->api->load_fields( array( 'type' => 'pick' ) );
Please login to merge, or discard this patch.
classes/fields/color.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
      *
145 145
      * @param array $options
146 146
      *
147
-     * @return array
147
+     * @return string
148 148
      * @since 2.0
149 149
      */
150 150
     public function prepare ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/date.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/datetime.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/email.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/paragraph.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/password.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
      *
145 145
      * @param array $options
146 146
      *
147
-     * @return array
147
+     * @return string
148 148
      * @since 2.0
149 149
      */
150 150
     public function prepare ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/phone.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/slug.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.