Completed
Pull Request — 2.x (#4373)
by
unknown
04:21
created
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/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.
components/Templates/includes/functions-view_template.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 /**
19 19
  * Return array of valid frontier type shortcode tags
20 20
  *
21
- * @return array
21
+ * @return string[]
22 22
  */
23 23
 function frontier_get_shortcodes() {
24 24
 	$shortcodes = array( 'each', 'pod_sub_template', 'once', 'pod_once_template', 'before', 'pod_before_template', 'after', 'pod_after_template', 'if', 'pod_if_field' );
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
  * @param array attributes from template
240 240
  * @param string template to be processed
241 241
  *
242
- * @return null
242
+ * @return string
243 243
  * @since 2.4
244 244
  */
245 245
 function frontier_do_subtemplate( $atts, $content ) {
Please login to merge, or discard this patch.