Completed
Push — log-refactor ( f0253a )
by Wahiba
02:46
created
Features/Acf/OptionPages.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -246,6 +246,9 @@  discard block
 block discarded – undo
246 246
         });
247 247
     }
248 248
 
249
+    /**
250
+     * @param string $type
251
+     */
249 252
     protected static function createSubPage($type, $name)
250 253
     {
251 254
         $namespace = self::FILTER_NAMESPACES[$type];
@@ -263,6 +266,9 @@  discard block
 block discarded – undo
263 266
         }
264 267
     }
265 268
 
269
+    /**
270
+     * @param string $subPageName
271
+     */
266 272
     protected static function addOptionSubPage($optionCategoryName, $subPageName, $optionType, $fields)
267 273
     {
268 274
         $prettySubPageName = StringHelpers::splitCamelCase($subPageName);
@@ -291,6 +297,9 @@  discard block
 block discarded – undo
291 297
         );
292 298
     }
293 299
 
300
+    /**
301
+     * @param string $menuSlug
302
+     */
294 303
     protected static function addFieldGroupToSubPage($parentMenuSlug, $menuSlug, $prettySubPageName, $fields)
295 304
     {
296 305
         $fieldGroup = ACFComposer\ResolveConfig::forFieldGroup(
@@ -314,6 +323,10 @@  discard block
 block discarded – undo
314 323
         acf_add_local_field_group($fieldGroup);
315 324
     }
316 325
 
326
+    /**
327
+     * @param string $optionCategory
328
+     * @param string $feature
329
+     */
317 330
     protected static function checkFeature($optionCategory, $feature)
318 331
     {
319 332
         if (array_key_exists($optionCategory, self::$optionCategories) && !Feature::isRegistered($feature)) {
Please login to merge, or discard this patch.
Features/Acf/FieldLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         self::addFilters('feature', $name, $filePath);
67 67
     }
68 68
 
69
+    /**
70
+     * @param string $category
71
+     */
69 72
     public static function addFilters($category, $name, $filePath)
70 73
     {
71 74
         if (false === $filePath || !file_exists($filePath)) {
Please login to merge, or discard this patch.
lib/Utils/Log.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
         $data = self::printDebug($data, $postpone);
20 20
     }
21 21
 
22
+    /**
23
+     * @param boolean $postpone
24
+     */
22 25
     public static function consoleDebug($data, $postpone, $title = 'PHP', $logType = 'log')
23 26
     {
24 27
         $title .= '(' . self::getCallerFile(2) .'):';
@@ -32,6 +35,9 @@  discard block
 block discarded – undo
32 35
         self::echoDebug($result, $postpone);
33 36
     }
34 37
 
38
+    /**
39
+     * @param boolean $postpone
40
+     */
35 41
     public static function printDebug($data, $postpone)
36 42
     {
37 43
         $type = gettype($data);
Please login to merge, or discard this patch.