Completed
Pull Request — 2.x (#3632)
by Scott Kingsley
06:45
created
classes/PodsComponents.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -493,6 +493,9 @@
 block discarded – undo
493 493
         }
494 494
     }
495 495
 
496
+    /**
497
+     * @param string $settings
498
+     */
496 499
     public function admin ( $options, $settings, $component ) {
497 500
         if ( !isset( $this->components[ $component ] ) )
498 501
             wp_die( 'Invalid Component' );
Please login to merge, or discard this patch.
classes/fields/website.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
 	 */
@@ -118,7 +117,7 @@  discard block
 block discarded – undo
118 117
 	 *
119 118
 	 * @param array $options
120 119
 	 *
121
-	 * @return array
120
+	 * @return string
122 121
 	 * @since 2.0
123 122
 	 */
124 123
 	public function schema ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/link.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
 	 */
@@ -118,7 +117,7 @@  discard block
 block discarded – undo
118 117
 	 *
119 118
 	 * @param array $options
120 119
 	 *
121
-	 * @return array
120
+	 * @return string
122 121
 	 * @since 2.0
123 122
 	 */
124 123
 	public function schema ( $options = null ) {
Please login to merge, or discard this patch.
classes/fields/oembed.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 *
157 157
 	 * @param array $options
158 158
 	 *
159
-	 * @return array
159
+	 * @return string
160 160
 	 * @since 2.0
161 161
 	 */
162 162
 	public function schema ( $options = null ) {
@@ -168,10 +168,9 @@  discard block
 block discarded – undo
168 168
 	/**
169 169
 	 * Change the way the value of the field is displayed with Pods::get
170 170
 	 *
171
-	 * @param mixed $value
171
+	 * @param string $value
172 172
 	 * @param string $name
173 173
 	 * @param array $options
174
-	 * @param array $fields
175 174
 	 * @param array $pod
176 175
 	 * @param int $id
177 176
 	 *
Please login to merge, or discard this patch.
classes/PodsInit.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -935,7 +935,7 @@
 block discarded – undo
935 935
 	 * @param        $args
936 936
 	 * @param string $type
937 937
 	 *
938
-	 * @return array
938
+	 * @return string
939 939
 	 */
940 940
 	public static function object_label_fix( $args, $type = 'post_type' ) {
941 941
 
Please login to merge, or discard this patch.
classes/PodsRESTFields.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,8 +95,8 @@  discard block
 block discarded – undo
95 95
 	 * @access protected
96 96
 	 *
97 97
 	 * @param string            $field_name Name of fields.
98
-	 * @param bool|string|array $read       Allowing reading?
99
-	 * @param bool|string|array $write      Allow writing?
98
+	 * @param boolean $read       Allowing reading?
99
+	 * @param boolean $write      Allow writing?
100 100
 	 */
101 101
 	protected function register( $field_name, $read, $write ) {
102 102
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	 * @since 2.5.6
145 145
 	 *
146 146
 	 * @param string      $field_name The field name.
147
-	 * @param object|Pods $pod        Pods object.
147
+	 * @param Pods $pod        Pods object.
148 148
 	 * @param string      $mode       Are we checking read or write?
149 149
 	 *
150 150
 	 * @return bool If supports, true, else false.
Please login to merge, or discard this patch.