Completed
Push — master ( 25c565...d66bf5 )
by Ryan
01:55
created
src/Role/RoleRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Anomaly\Streams\Platform\Entry\EntryRepository;
5 5
 use Anomaly\UsersModule\Role\Contract\RoleInterface;
6 6
 use Anomaly\UsersModule\Role\Contract\RoleRepositoryInterface;
7
-use Illuminate\Support\Collection;
8 7
 
9 8
 /**
10 9
  * Class RoleRepositoryInterface
Please login to merge, or discard this patch.
src/User/Permission/PermissionFormSections.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      *
22 22
      * @param PermissionFormBuilder $builder
23 23
      * @param AddonCollection       $addons
24
-     * @param Translator            $translator
25 24
      * @param Repository            $config
26 25
      */
27 26
     public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config)
Please login to merge, or discard this patch.
src/User/UserAuthenticator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @param array $credentials
64 64
      * @param bool  $remember
65
-     * @return bool|UserInterface
65
+     * @return boolean
66 66
      */
67 67
     public function attempt(array $credentials, $remember = false)
68 68
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * Attempt to authenticate the credentials.
81 81
      *
82 82
      * @param array $credentials
83
-     * @return bool|UserInterface
83
+     * @return boolean
84 84
      */
85 85
     public function authenticate(array $credentials)
86 86
     {
Please login to merge, or discard this patch.
src/User/UserModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
      *
205 205
      * @param      $permission
206 206
      * @param bool $checkRoles
207
-     * @return mixed
207
+     * @return boolean
208 208
      */
209 209
     public function hasPermission($permission, $checkRoles = true)
210 210
     {
Please login to merge, or discard this patch.
src/Role/Permission/PermissionFormSections.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      *
22 22
      * @param PermissionFormBuilder $builder
23 23
      * @param AddonCollection       $addons
24
-     * @param Translator            $translator
25 24
      * @param Repository            $config
26 25
      */
27 26
     public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config)
Please login to merge, or discard this patch.