Completed
Push — 2.x ( d71bb2...b47c90 )
by Phil
06:48
created
classes/PodsForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1352,7 +1352,7 @@
 block discarded – undo
1352 1352
 	 * @param bool  $noarray
1353 1353
 	 * @param bool  $db_field
1354 1354
 	 *
1355
-	 * @return mixed|string
1355
+	 * @return string
1356 1356
 	 */
1357 1357
 	public static function clean( $input, $noarray = false, $db_field = false ) {
1358 1358
 
Please login to merge, or discard this patch.
classes/PodsMigrate.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
 	 * @param array  $data      Array of data
546 546
 	 * @param string $delimiter Delimiter for export type 'sv'
547 547
 	 *
548
-	 * @return bool
548
+	 * @return false|string
549 549
 	 */
550 550
 	public function build_sv( $data = null, $delimiter = null ) {
551 551
 
@@ -624,7 +624,7 @@  discard block
 block discarded – undo
624 624
 	/**
625 625
 	 * @param array $data Array of data
626 626
 	 *
627
-	 * @return bool
627
+	 * @return false|string
628 628
 	 */
629 629
 	public function build_xml( $data = null ) {
630 630
 
@@ -1238,7 +1238,7 @@  discard block
 block discarded – undo
1238 1238
 	 * @param array  $data   Data to export.
1239 1239
 	 * @param bool   $single Whether this is a single item export.
1240 1240
 	 *
1241
-	 * @return mixed
1241
+	 * @return string
1242 1242
 	 */
1243 1243
 	public static function export_data_to_file( $file, $data, $single = false ) {
1244 1244
 
Please login to merge, or discard this patch.
classes/PodsUI.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
 	 * @param mixed $options    Object, Array, or String containing Pod or Options to be used
440 440
 	 * @param bool  $deprecated Set to true to support old options array from Pods UI plugin
441 441
 	 *
442
-	 * @return \PodsUI
442
+	 * @return false|null
443 443
 	 *
444 444
 	 * @license http://www.gnu.org/licenses/gpl-2.0.html
445 445
 	 * @since   2.0
@@ -1481,7 +1481,7 @@  discard block
 block discarded – undo
1481 1481
 	}
1482 1482
 
1483 1483
 	/**
1484
-	 * @return mixed
1484
+	 * @return null|boolean
1485 1485
 	 */
1486 1486
 	public function go() {
1487 1487
 
@@ -1594,7 +1594,7 @@  discard block
 block discarded – undo
1594 1594
 	}
1595 1595
 
1596 1596
 	/**
1597
-	 * @return mixed
1597
+	 * @return null|boolean
1598 1598
 	 */
1599 1599
 	public function add() {
1600 1600
 
@@ -1641,7 +1641,7 @@  discard block
 block discarded – undo
1641 1641
 	/**
1642 1642
 	 * @param bool $duplicate
1643 1643
 	 *
1644
-	 * @return mixed
1644
+	 * @return null|boolean
1645 1645
 	 */
1646 1646
 	public function edit( $duplicate = false ) {
1647 1647
 
@@ -1716,7 +1716,7 @@  discard block
 block discarded – undo
1716 1716
 	 * @param bool $create
1717 1717
 	 * @param bool $duplicate
1718 1718
 	 *
1719
-	 * @return bool|mixed
1719
+	 * @return null|boolean
1720 1720
 	 */
1721 1721
 	public function form( $create = false, $duplicate = false ) {
1722 1722
 
@@ -1877,7 +1877,7 @@  discard block
 block discarded – undo
1877 1877
 	}
1878 1878
 
1879 1879
 	/**
1880
-	 * @return bool|mixed
1880
+	 * @return null|boolean
1881 1881
 	 * @since 2.3.10
1882 1882
 	 */
1883 1883
 	public function view() {
@@ -2158,9 +2158,9 @@  discard block
 block discarded – undo
2158 2158
 	}
2159 2159
 
2160 2160
 	/**
2161
-	 * @param null $id
2161
+	 * @param integer $id
2162 2162
 	 *
2163
-	 * @return bool|mixed
2163
+	 * @return null|boolean
2164 2164
 	 */
2165 2165
 	public function delete( $id = null ) {
2166 2166
 
@@ -2718,7 +2718,7 @@  discard block
 block discarded – undo
2718 2718
 
2719 2719
 	/**
2720 2720
 	 * @param int  $counter
2721
-	 * @param null $method
2721
+	 * @param string $method
2722 2722
 	 *
2723 2723
 	 * @return array
2724 2724
 	 */
@@ -3688,7 +3688,7 @@  discard block
 block discarded – undo
3688 3688
 	/**
3689 3689
 	 * @param bool $reorder
3690 3690
 	 *
3691
-	 * @return bool|mixed
3691
+	 * @return null|boolean
3692 3692
 	 */
3693 3693
 	public function table( $reorder = false ) {
3694 3694
 
@@ -4775,7 +4775,7 @@  discard block
 block discarded – undo
4775 4775
 	}
4776 4776
 
4777 4777
 	/**
4778
-	 * @param bool|array $exclude
4778
+	 * @param string[] $exclude
4779 4779
 	 * @param bool|array $array
4780 4780
 	 */
4781 4781
 	public function hidden_vars( $exclude = false, $array = false ) {
Please login to merge, or discard this patch.
components/Markdown.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1243,8 +1243,8 @@  discard block
 block discarded – undo
1243 1243
 		public $list_level = 0;
1244 1244
 
1245 1245
 		/**
1246
-		 * @param $list_str
1247
-		 * @param $marker_any_re
1246
+		 * @param string $list_str
1247
+		 * @param string $marker_any_re
1248 1248
 		 *
1249 1249
 		 * @return mixed
1250 1250
 		 */
@@ -1371,7 +1371,7 @@  discard block
 block discarded – undo
1371 1371
 		}
1372 1372
 
1373 1373
 		/**
1374
-		 * @param $code
1374
+		 * @param string $code
1375 1375
 		 *
1376 1376
 		 * @return string
1377 1377
 		 */
@@ -1978,7 +1978,7 @@  discard block
 block discarded – undo
1978 1978
 		public $utf8_strlen = 'mb_strlen';
1979 1979
 
1980 1980
 		/**
1981
-		 * @param $text
1981
+		 * @param string $text
1982 1982
 		 *
1983 1983
 		 * @return mixed
1984 1984
 		 */
Please login to merge, or discard this patch.
components/Pages.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 	/**
130 130
 	 * @param $caps
131 131
 	 *
132
-	 * @return array
132
+	 * @return string[]
133 133
 	 */
134 134
 	public function get_capabilities( $caps ) {
135 135
 
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	 *
179 179
 	 * @param array $post_types
180 180
 	 *
181
-	 * @return array
181
+	 * @return string[]
182 182
 	 */
183 183
 	public function disable_builder_layout( $post_types ) {
184 184
 
@@ -717,7 +717,7 @@  discard block
 block discarded – undo
717 717
 	 *
718 718
 	 * @param string $uri The Pod Page URI to check if exists
719 719
 	 *
720
-	 * @return array|bool
720
+	 * @return boolean
721 721
 	 */
722 722
 	public static function exists( $uri = null ) {
723 723
 
Please login to merge, or discard this patch.
components/Roles/Roles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@
 block discarded – undo
460 460
 	}
461 461
 
462 462
 	/**
463
-	 * @return array
463
+	 * @return string[]
464 464
 	 */
465 465
 	public function get_wp_capabilities() {
466 466
 
Please login to merge, or discard this patch.
components/Templates/class-pods_templates.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -298,8 +298,8 @@  discard block
 block discarded – undo
298 298
 	/**
299 299
 	 * create and register an instance ID
300 300
 	 *
301
-	 * @param $id
302
-	 * @param $process
301
+	 * @param string $id
302
+	 * @param string $process
303 303
 	 *
304 304
 	 * @return string
305 305
 	 */
@@ -491,8 +491,8 @@  discard block
 block discarded – undo
491 491
 	 *
492 492
 	 * Get the current URL
493 493
 	 *
494
-	 * @param null $src
495
-	 * @param null $path
494
+	 * @param string $src
495
+	 * @param string $path
496 496
 	 *
497 497
 	 * @return string
498 498
 	 */
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
 	 *
510 510
 	 * Get the current URL
511 511
 	 *
512
-	 * @param null $src
512
+	 * @param string $src
513 513
 	 *
514 514
 	 * @return string
515 515
 	 */
Please login to merge, or discard this patch.
Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@
 block discarded – undo
254 254
 	 *
255 255
 	 * @param bool $load_in_admin Optional. Whether to load in admin. Default is false.
256 256
 	 *
257
-	 * @return Pods_PFAT_Frontend
257
+	 * @return Pods_Templates_Auto_Template_Front_End|null
258 258
 	 *
259 259
 	 * @since 2.5.5
260 260
 	 */
Please login to merge, or discard this patch.
components/Templates/Templates.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	/**
126 126
 	 * @param $caps
127 127
 	 *
128
-	 * @return array
128
+	 * @return string[]
129 129
 	 */
130 130
 	public function get_capabilities( $caps ) {
131 131
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	/**
149 149
 	 * @param $post_types
150 150
 	 *
151
-	 * @return array
151
+	 * @return string[]
152 152
 	 */
153 153
 	public function disable_builder_layout( $post_types ) {
154 154
 
Please login to merge, or discard this patch.