@@ -12,14 +12,11 @@ |
||
12 | 12 | namespace Icybee\Modules\Users\Block; |
13 | 13 | |
14 | 14 | use Brickrouge\Group; |
15 | - |
|
16 | - |
|
17 | 15 | use Brickrouge\Document; |
18 | 16 | use Brickrouge\Element; |
19 | 17 | use Brickrouge\Form; |
20 | 18 | use Brickrouge\Text; |
21 | 19 | use Brickrouge\Widget; |
22 | - |
|
23 | 20 | use Icybee\Modules\Users\Module; |
24 | 21 | use Icybee\Modules\Users\User; |
25 | 22 |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | * |
217 | 217 | * This is the getter for the `$app->user` property. |
218 | 218 | * |
219 | - * @param Core|CoreBindings|\ICanBoogie\Binding\ActiveRecord\CoreBindings $app |
|
219 | + * @param Core $app |
|
220 | 220 | * |
221 | 221 | * @return User The user object, or guest user object. |
222 | 222 | */ |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | /** |
276 | 276 | * Checks if a user has a given permission. |
277 | 277 | * |
278 | - * @param Core|CoreBindings $app |
|
278 | + * @param Core $app |
|
279 | 279 | * @param User $user |
280 | 280 | * @param string $permission |
281 | 281 | * @param string $target |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | /** |
293 | 293 | * Checks if a user has the ownership of a record. |
294 | 294 | * |
295 | - * @param Core|CoreBindings $app |
|
295 | + * @param Core $app |
|
296 | 296 | * @param User $user |
297 | 297 | * @param ActiveRecord $record |
298 | 298 | * |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | */ |
359 | 359 | |
360 | 360 | /** |
361 | - * @return Core|\Icybee\Binding\CoreBindings |
|
361 | + * @return Core |
|
362 | 362 | */ |
363 | 363 | static private function app() |
364 | 364 | { |
@@ -16,13 +16,10 @@ |
||
16 | 16 | use ICanBoogie\HTTP\AuthenticationRequired; |
17 | 17 | use ICanBoogie\HTTP\PermissionRequired; |
18 | 18 | use ICanBoogie\HTTP\Response; |
19 | -use ICanBoogie\HTTP\RequestDispatcher; |
|
20 | 19 | use ICanBoogie\HTTP\SecurityError; |
21 | 20 | use ICanBoogie\Operation; |
22 | 21 | use ICanBoogie\PropertyNotDefined; |
23 | 22 | use ICanBoogie\Routing\RouteDispatcher; |
24 | -use ICanBoogie\Session; |
|
25 | - |
|
26 | 23 | use Icybee\Element\AdminDecorator; |
27 | 24 | use Icybee\Element\DocumentDecorator; |
28 | 25 | use Icybee\Modules\Members\Member; |
@@ -11,15 +11,12 @@ |
||
11 | 11 | |
12 | 12 | namespace Icybee\Modules\Users; |
13 | 13 | |
14 | -use ICanBoogie\Operation; |
|
15 | - |
|
16 | 14 | use Brickrouge\A; |
17 | 15 | use Brickrouge\Button; |
18 | 16 | use Brickrouge\Document; |
19 | 17 | use Brickrouge\Element; |
20 | 18 | use Brickrouge\Form; |
21 | 19 | use Brickrouge\Text; |
22 | - |
|
23 | 20 | use Icybee\Binding\Core\PrototypedBindings; |
24 | 21 | |
25 | 22 | class LoginForm extends Form |
@@ -11,9 +11,7 @@ |
||
11 | 11 | |
12 | 12 | namespace Icybee\Modules\Users; |
13 | 13 | |
14 | -use ICanBoogie\I18n; |
|
15 | 14 | use ICanBoogie\Operation; |
16 | - |
|
17 | 15 | use Brickrouge\Button; |
18 | 16 | use Brickrouge\Element; |
19 | 17 | use Brickrouge\Form; |
@@ -12,11 +12,9 @@ |
||
12 | 12 | namespace Icybee\Modules\Users\Operation; |
13 | 13 | |
14 | 14 | use ICanBoogie\Errors; |
15 | -use ICanBoogie\HTTP\Request; |
|
16 | 15 | use ICanBoogie\I18n; |
17 | 16 | use ICanBoogie\Operation; |
18 | 17 | use ICanBoogie\Module\ControllerBindings as ModuleBindings; |
19 | - |
|
20 | 18 | use Icybee\Binding\Core\PrototypedBindings; |
21 | 19 | use Icybee\Modules\Registry\MetaCollection; |
22 | 20 | use Icybee\Modules\Users\LoginForm; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use ICanBoogie\Errors; |
15 | 15 | use ICanBoogie\Operation; |
16 | - |
|
17 | 16 | use Icybee\Modules\Users\User; |
18 | 17 | |
19 | 18 | /** |
@@ -14,11 +14,9 @@ |
||
14 | 14 | use ICanBoogie\ActiveRecord; |
15 | 15 | use ICanBoogie\ActiveRecord\CreatedAtProperty; |
16 | 16 | use ICanBoogie\ActiveRecord\RecordNotFound; |
17 | - |
|
18 | 17 | use Brickrouge\AlterCSSClassNamesEvent; |
19 | 18 | use Brickrouge\CSSClassNames; |
20 | 19 | use Brickrouge\CSSClassNamesProperty; |
21 | - |
|
22 | 20 | use Icybee\Modules\Users\Roles\Role; |
23 | 21 | use Icybee\Binding\Core\PrototypedBindings as IcybeeBindings; |
24 | 22 | use Icybee\Modules\Registry\Binding\UserBindings as RegistryBindings; |
@@ -12,8 +12,6 @@ |
||
12 | 12 | namespace Icybee\Modules\Users; |
13 | 13 | |
14 | 14 | use ICanBoogie\DateTime; |
15 | -use ICanBoogie\ActiveRecord; |
|
16 | - |
|
17 | 15 | use Icybee\ConstructorModel; |
18 | 16 | |
19 | 17 | class UserModel extends ConstructorModel |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use ICanBoogie\Errors; |
15 | 15 | use ICanBoogie\Operation; |
16 | - |
|
17 | 16 | use Icybee\Modules\Users\User; |
18 | 17 | |
19 | 18 | /** |