@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -204,7 +204,7 @@ |
||
| 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 | { |
@@ -21,7 +21,6 @@ |
||
| 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) |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | * Touch a user's last activity and IP. |
| 103 | 103 | * |
| 104 | 104 | * @param UserInterface $user |
| 105 | - * @return bool |
|
| 105 | + * @return boolean|null |
|
| 106 | 106 | */ |
| 107 | 107 | public function touchLastActivity(UserInterface $user) |
| 108 | 108 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param PermissionFormBuilder $builder |
| 22 | 22 | * @param AddonCollection $addons |
| 23 | - * @param Translator $translator |
|
| 24 | 23 | * @param Repository $config |
| 25 | 24 | */ |
| 26 | 25 | public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config) |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Return an index of existing fields. |
| 25 | 25 | * |
| 26 | - * @param FieldTableBuilder $table |
|
| 26 | + * @param AssignmentTableBuilder $table |
|
| 27 | 27 | * @return \Symfony\Component\HttpFoundation\Response |
| 28 | 28 | */ |
| 29 | 29 | public function index(AssignmentTableBuilder $table, UserModel $users) |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use Anomaly\Streams\Platform\Assignment\Contract\AssignmentInterface; |
| 5 | 5 | use Anomaly\Streams\Platform\Assignment\Contract\AssignmentRepositoryInterface; |
| 6 | 6 | use Anomaly\Streams\Platform\Assignment\Table\AssignmentTableBuilder; |
| 7 | -use Anomaly\Streams\Platform\Field\Form\FieldAssignmentFormBuilder; |
|
| 8 | 7 | use Anomaly\Streams\Platform\Field\Form\FieldFormBuilder; |
| 9 | 8 | use Anomaly\Streams\Platform\Field\Table\FieldTableBuilder; |
| 10 | 9 | use Anomaly\Streams\Platform\Http\Controller\AdminController; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Return the login form. |
| 19 | 19 | * |
| 20 | - * @return \Illuminate\Http\RedirectResponse |
|
| 20 | + * @return \Illuminate\Contracts\View\View |
|
| 21 | 21 | */ |
| 22 | 22 | public function login() |
| 23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Return the register view. |
| 19 | 19 | * |
| 20 | - * @return \Illuminate\Contracts\View\View|mixed |
|
| 20 | + * @return \Illuminate\Contracts\View\View |
|
| 21 | 21 | */ |
| 22 | 22 | public function register() |
| 23 | 23 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Anomaly\Streams\Platform\Http\Controller\PublicController; |
| 4 | 4 | use Anomaly\UsersModule\User\Register\Command\HandleActivateRequest; |
| 5 | -use Illuminate\Contracts\Encryption\Encrypter; |
|
| 6 | 5 | |
| 7 | 6 | /** |
| 8 | 7 | * Class RegisterController |
@@ -204,7 +204,7 @@ |
||
| 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 | { |