Completed
Push — master ( ca9e91...323c52 )
by wen
13:23 queued 21s
created
src/Component/Concerns/HasAccess.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Check if the entity have access to delete.
73 73
      *
74
-     * @return mixed
74
+     * @return boolean
75 75
      */
76 76
     public function isDelete()
77 77
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * Get the observable ability names.
132 132
      *
133
-     * @return array
133
+     * @return string[]
134 134
      */
135 135
     public function getObservableAbilities()
136 136
     {
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * register ability to access.
148 148
      *
149 149
      * @param string $ability
150
-     * @param string|\Closure $callback
150
+     * @param string $callback
151 151
      */
152 152
     public function registerAbility($ability, $callback)
153 153
     {
Please login to merge, or discard this patch.