Completed
Push — master ( 93e691...5acfa0 )
by wen
12:06
created
src/Component/Concerns/HasAccess.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * Get the observable event names.
76 76
      *
77
-     * @return array
77
+     * @return string[]
78 78
      */
79 79
     public function getObservableAbilities()
80 80
     {
@@ -87,6 +87,9 @@  discard block
 block discarded – undo
87 87
         );
88 88
     }
89 89
 
90
+    /**
91
+     * @param string $ability
92
+     */
90 93
     public function registerAccess($ability, $callback)
91 94
     {
92 95
         static::$abilities->put($ability, $callback);
Please login to merge, or discard this patch.