Completed
Branch master (f67e5b)
by Usman
04:20
created
src/Usman/Guardian/AccessControl/AccessControlInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * Checks if a user has any capability
39 39
      * 
40
-     * @param  array   $capabilityNames
40
+     * @param  array   $capabilityName
41 41
      * @return boolean
42 42
      */
43 43
     public function hasAnyCapability(array $capabilityName);
Please login to merge, or discard this patch.
src/Usman/Guardian/AccessControl/Guardian.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Checks for a role
39 39
      * 
40
-     * @param  string  $roleName
41 40
      * @return boolean
42 41
      */
43 42
     public function hasRole($role)
@@ -76,7 +75,7 @@  discard block
 block discarded – undo
76 75
     /**
77 76
      * Checks if a user has a capability
78 77
      * 
79
-     * @param  string  $capabilityName
78
+     * @param  string  $capability
80 79
      * @return boolean
81 80
      */
82 81
     public function hasCapability($capability)
@@ -116,7 +115,7 @@  discard block
 block discarded – undo
116 115
     /**
117 116
      * Initializes the Guardian instance.
118 117
      * 
119
-     * @return void
118
+     * @return false|null
120 119
      */
121 120
     protected function init()
122 121
     {
Please login to merge, or discard this patch.
src/Usman/Guardian/Http/Controllers/Users.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 use View;
4 4
 use Input;
5 5
 use Redirect;
6
-use Request;
7 6
 use Usman\Guardian\Validators\UserValidator;
8 7
 use Usman\Guardian\Validators\Exceptions\ValidationException;
9 8
 use Usman\Guardian\Repositories\Interfaces\UserRepositoryInterface;
Please login to merge, or discard this patch.
src/Usman/Guardian/Repositories/BaseRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      * Deletes a record and its related records.
113 113
      * 
114 114
      * @param  int $id
115
-     * @param  array $method methods that define the relation
115
+     * @param  array $methods methods that define the relation
116 116
      * @return bool
117 117
      */
118 118
     public function deleteWith($id, array $methods)
Please login to merge, or discard this patch.
src/Usman/Guardian/Repositories/Interfaces/BaseRepositoryInterface.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * Template method for creating a record in storage
41 41
      * 
42
-     * @param  array  $fields
43 42
      * @return mixed    
44 43
      */
45 44
     public function create(array $data);
@@ -48,7 +47,6 @@  discard block
 block discarded – undo
48 47
      * Template method for updating a record in storage
49 48
      * 
50 49
      * @param  int $id   
51
-     * @param  array  $fields
52 50
      * @return bool       
53 51
      */
54 52
     public function update($id, array $data);
Please login to merge, or discard this patch.