Completed
Pull Request — 2.x (#4569)
by Scott Kingsley
04:46
created
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.
sql/upgrade/PodsUpgrade_2_1_0.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 	}
18 18
 
19 19
 	/**
20
-	 * @return array|bool|int|mixed|null|void
20
+	 * @return integer
21 21
 	 */
22 22
 	public function prepare_relationships() {
23 23
 
Please login to merge, or discard this patch.
classes/fields/datetime.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -606,7 +606,7 @@  discard block
 block discarded – undo
606 606
 	 * @param string  $date             Defaults to time() if empty.
607 607
 	 * @param boolean $return_timestamp Whether to return the strtotime() or createFromFormat result or not
608 608
 	 *
609
-	 * @return DateTime|null|int|false
609
+	 * @return string
610 610
 	 */
611 611
 	public function createFromFormat( $format, $date, $return_timestamp = false ) {
612 612
 
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
 	 * Convert a date from one format to another
657 657
 	 *
658 658
 	 * @param         $value
659
-	 * @param         $new_format
659
+	 * @param         string $new_format
660 660
 	 * @param string     $original_format
661 661
 	 * @param boolean    $return_timestamp Whether to return the strtotime() or createFromFormat result or not
662 662
 	 *
Please login to merge, or discard this patch.
classes/fields/oembed.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -148,6 +148,8 @@
 block discarded – undo
148 148
 
149 149
 	/**
150 150
 	 * {@inheritdoc}
151
+	 * @param string $value
152
+	 * @param string $name
151 153
 	 */
152 154
 	public function display( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
153 155
 
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
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	 *
175 175
 	 * @param array $options
176 176
 	 *
177
-	 * @return array
177
+	 * @return string
178 178
 	 * @since 2.0
179 179
 	 */
180 180
 	public function schema( $options = null ) {
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 	 * @param array  $pod
284 284
 	 * @param object $params
285 285
 	 *
286
-	 * @return mixed|string
286
+	 * @return string
287 287
 	 * @since 2.0
288 288
 	 */
289 289
 	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.