Completed
Push — 2.x ( e88784...f57756 )
by Scott Kingsley
25:22 queued 17:24
created
classes/PodsAdmin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2021,7 +2021,7 @@  discard block
 block discarded – undo
2021 2021
      *
2022 2022
      * @param PodsUI $ui
2023 2023
      *
2024
-     * @return bool
2024
+     * @return boolean|null
2025 2025
      */
2026 2026
     public function admin_components_toggle ( PodsUI $ui ) {
2027 2027
         $component = $_GET[ 'id' ];
@@ -2154,7 +2154,7 @@  discard block
 block discarded – undo
2154 2154
      *
2155 2155
      * @param $capabilities List of extra capabilities to add
2156 2156
      *
2157
-     * @return array
2157
+     * @return string[]
2158 2158
      */
2159 2159
     public function admin_capabilities ( $capabilities ) {
2160 2160
         $pods = pods_api()->load_pods( array( 'type' => array( 'pod', 'table', 'post_type', 'taxonomy', 'settings' ) ) );
@@ -2472,7 +2472,7 @@  discard block
 block discarded – undo
2472 2472
      *
2473 2473
      * @param array $pod
2474 2474
      *
2475
-     * @return bool
2475
+     * @return boolean|null
2476 2476
      */
2477 2477
     protected function restable_pod( $pod ) {
2478 2478
         $type =  $pod[ 'type' ];
Please login to merge, or discard this patch.