Test Failed
Push — master ( f2f611...aa4842 )
by Jeferson
01:37 queued 11s
created
src/Enum/PrettyEnum.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,12 +21,18 @@  discard block
 block discarded – undo
21 21
         return $class->register();
22 22
     }
23 23
 
24
+    /**
25
+     * @param string $index
26
+     */
24 27
     public static function get($index) {
25 28
       $item = static::getItem($index);
26 29
 
27 30
       return $item['value'];
28 31
     }
29 32
 
33
+    /**
34
+     * @param string $index
35
+     */
30 36
     public static function pretty($index) {
31 37
         $item = static::getItem($index);
32 38
 
@@ -55,6 +61,9 @@  discard block
 block discarded – undo
55 61
         return $constants[$key];
56 62
     }
57 63
 
64
+    /**
65
+     * @param string $key
66
+     */
58 67
     public static function item($key) {
59 68
         return static::mountItem(static::getItem($key));
60 69
     }
Please login to merge, or discard this patch.