Completed
Pull Request — master (#3)
by Eric
10:42 queued 04:51
created
src/helpers.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -5,6 +5,10 @@
 block discarded – undo
5 5
 use Spatie\Permission\Models\Role;
6 6
 
7 7
 if (!function_exists('assignPermission')) {
8
+
9
+    /**
10
+     * @param string $permission
11
+     */
8 12
     function assignPermission($role, $permission)
9 13
     {
10 14
         if (! $role->hasPermissionTo($permission)) {
Please login to merge, or discard this patch.