Completed
Pull Request — 2.x (#4569)
by Scott Kingsley
04:56
created
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.
deprecated/classes/Pods.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 	/**
20 20
 	 * Constructor - Pods Deprecated functionality (pre 2.0)
21 21
 	 *
22
-	 * @param object $obj The Pods object
22
+	 * @param Pods $obj The Pods object
23 23
 	 *
24 24
 	 * @license http://www.gnu.org/licenses/gpl-2.0.html
25 25
 	 * @since   2.0
Please login to merge, or discard this patch.
deprecated/classes/PodsAPI.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	/**
22 22
 	 * Constructor - PodsAPI Deprecated functionality (pre 2.0)
23 23
 	 *
24
-	 * @param object $obj The PodsAPI object
24
+	 * @param PodsAPI $obj The PodsAPI object
25 25
 	 *
26 26
 	 * @license http://www.gnu.org/licenses/gpl-2.0.html
27 27
 	 * @since   2.0
Please login to merge, or discard this patch.
deprecated/deprecated.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
  * @param string $message
443 443
  * @param bool   $error Whether or not it is an error message
444 444
  *
445
- * @return bool
445
+ * @return boolean|null
446 446
  *
447 447
  * @since     1.12
448 448
  * @deprcated 2.3
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
  *
460 460
  * @param string $message
461 461
  *
462
- * @return bool
462
+ * @return boolean|null
463 463
  *
464 464
  * @since     1.12
465 465
  * @deprcated 2.3
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
  *
517 517
  * @param $version
518 518
  *
519
- * @return array|string
519
+ * @return string
520 520
  */
521 521
 function pods_version_to_point( $version ) {
522 522
 
Please login to merge, or discard this patch.