Completed
Pull Request — 2.x (#3632)
by Scott Kingsley
07:11 queued 01:04
created
includes/general.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -310,7 +310,6 @@  discard block
 block discarded – undo
310 310
 /**
311 311
  * Determine if Deprecated Mode is enabled
312 312
  *
313
- * @param bool $include_debug Whether to include strict mode
314 313
  *
315 314
  * @return bool Whether Deprecated Mode is enabled
316 315
  *
@@ -443,6 +442,7 @@  discard block
 block discarded – undo
443 442
  * @param string $minimum_version Minimum version
444 443
  * @param string $comparison Comparison operator
445 444
  * @param string $maximum_version Maximum version
445
+ * @param string $what
446 446
  *
447 447
  * @return bool
448 448
  */
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
  * @uses get_shortcode_regex() Gets the search pattern for searching shortcodes.
907 907
  *
908 908
  * @param string $content Content to search for shortcodes
909
- * @param array $shortcodes Array of shortcodes to run
909
+ * @param string[] $shortcodes Array of shortcodes to run
910 910
  * @return string Content with shortcodes filtered out.
911 911
  */
912 912
 function pods_do_shortcode( $content, $shortcodes ) {
@@ -1446,7 +1446,7 @@  discard block
 block discarded – undo
1446 1446
  * @param string|bool $key Key for the cache
1447 1447
  * @param string $group (optional) Key for the group
1448 1448
  *
1449
- * @return bool|mixed|null|void
1449
+ * @return boolean
1450 1450
  *
1451 1451
  * @since 2.0
1452 1452
  */
@@ -1654,7 +1654,6 @@  discard block
 block discarded – undo
1654 1654
  *
1655 1655
  * @param string|array $pod The pod name or array of pod names
1656 1656
  * @param string $name The name of the Pod
1657
- * @param array $object (optional) Pod array, including any 'fields' arrays
1658 1657
  *
1659 1658
  * @return array|boolean Field data or false if unsuccessful
1660 1659
  * @since 2.1
Please login to merge, or discard this patch.
sql/upgrade/PodsUpgrade.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @param $method
140
+     * @param string $method
141 141
      * @param $v
142 142
      * @param null $x
143 143
      */
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @param $method
159
+     * @param string $method
160 160
      * @param null $x
161 161
      *
162 162
      * @return bool
Please login to merge, or discard this patch.
sql/upgrade/PodsUpgrade_2_0_0.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
     }
253 253
 
254 254
     /**
255
-     * @return array|string
255
+     * @return string
256 256
      */
257 257
     public function migrate_pods () {
258 258
         if ( true === $this->check_progress( __FUNCTION__ ) )
@@ -743,7 +743,7 @@  discard block
 block discarded – undo
743 743
     }
744 744
 
745 745
     /**
746
-     * @return array|string
746
+     * @return string
747 747
      */
748 748
     public function migrate_templates () {
749 749
         if ( true === $this->check_progress( __FUNCTION__ ) )
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
     }
768 768
 
769 769
     /**
770
-     * @return array|string
770
+     * @return string
771 771
      */
772 772
     public function migrate_pages () {
773 773
         if ( true === $this->check_progress( __FUNCTION__ ) )
Please login to merge, or discard this patch.
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.