Completed
Pull Request — 2.x (#4068)
by Jory
04:54
created
classes/PodsAdmin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2172,7 +2172,7 @@  discard block
 block discarded – undo
2172 2172
      *
2173 2173
      * @param PodsUI $ui
2174 2174
      *
2175
-     * @return bool
2175
+     * @return boolean|null
2176 2176
      */
2177 2177
     public function admin_components_toggle ( PodsUI $ui ) {
2178 2178
         $component = $_GET[ 'id' ];
@@ -2305,7 +2305,7 @@  discard block
 block discarded – undo
2305 2305
      *
2306 2306
      * @param $capabilities List of extra capabilities to add
2307 2307
      *
2308
-     * @return array
2308
+     * @return string[]
2309 2309
      */
2310 2310
     public function admin_capabilities ( $capabilities ) {
2311 2311
         $pods = pods_api()->load_pods( array( 'type' => array( 'settings', 'post_type', 'taxonomy' ), 'fields' => false, 'table_info' => false ) );
@@ -2646,7 +2646,7 @@  discard block
 block discarded – undo
2646 2646
      *
2647 2647
      * @param array $pod
2648 2648
      *
2649
-     * @return bool
2649
+     * @return boolean|null
2650 2650
      */
2651 2651
     protected function restable_pod( $pod ) {
2652 2652
         $type =  $pod[ 'type' ];
Please login to merge, or discard this patch.
classes/PodsForm.php 1 patch
Doc Comments   -5 removed lines patch added patch discarded remove patch
@@ -882,7 +882,6 @@  discard block
 block discarded – undo
882 882
      * @param mixed $value
883 883
      * @param string $name
884 884
      * @param array $options
885
-     * @param array $fields
886 885
      * @param array $pod
887 886
      * @param int $id
888 887
      * @param array $traverse
@@ -924,7 +923,6 @@  discard block
 block discarded – undo
924 923
      * @param mixed $value
925 924
      * @param string $name
926 925
      * @param array $options
927
-     * @param array $fields
928 926
      * @param array $pod
929 927
      * @param int $id
930 928
      * @param array $traverse
@@ -1295,9 +1293,6 @@  discard block
 block discarded – undo
1295 1293
     /**
1296 1294
      * Run a method from a Field Type's class
1297 1295
      *
1298
-     * @param string $field_type Field Type indentifier
1299
-     * @param string $method Method name
1300
-     * @param mixed $arg More arguments
1301 1296
      *
1302 1297
      * @return mixed
1303 1298
      * @access public
Please login to merge, or discard this patch.
classes/fields/link.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@
 block discarded – undo
50 50
 	/**
51 51
 	 * Add options and set defaults to
52 52
 	 *
53
-	 * @param array $options
54 53
 	 *
55 54
 	 * @since 2.0
56 55
 	 */
Please login to merge, or discard this patch.
classes/fields/website.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@  discard block
 block discarded – undo
50 50
 	/**
51 51
 	 * Add options and set defaults to
52 52
 	 *
53
-	 * @param array $options
54 53
 	 *
55 54
 	 * @since 2.0
56 55
 	 */
@@ -120,7 +119,7 @@  discard block
 block discarded – undo
120 119
 	 *
121 120
 	 * @param array $options
122 121
 	 *
123
-	 * @return array
122
+	 * @return string
124 123
 	 * @since 2.0
125 124
 	 */
126 125
 	public function schema ( $options = null ) {
@@ -143,7 +142,7 @@  discard block
 block discarded – undo
143 142
 	 * @param array $pod
144 143
 	 * @param int $id
145 144
 	 *
146
-	 * @return mixed|null
145
+	 * @return string
147 146
 	 * @since 2.0
148 147
 	 */
149 148
 	public function display ( $value = null, $name = null, $options = null, $pod = null, $id = null ) {
Please login to merge, or discard this patch.