@@ -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,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 |
@@ -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; |
@@ -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 | */ |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | /** |
| 278 | 278 | * Checks if a user has a given permission. |
| 279 | 279 | * |
| 280 | - * @param Core|CoreBindings $app |
|
| 280 | + * @param Core $app |
|
| 281 | 281 | * @param User $user |
| 282 | 282 | * @param string $permission |
| 283 | 283 | * @param string $target |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | /** |
| 295 | 295 | * Checks if a user has the ownership of a record. |
| 296 | 296 | * |
| 297 | - * @param Core|CoreBindings $app |
|
| 297 | + * @param Core $app |
|
| 298 | 298 | * @param User $user |
| 299 | 299 | * @param ActiveRecord $record |
| 300 | 300 | * |
@@ -11,10 +11,8 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Icybee\Modules\Users\Operation; |
| 13 | 13 | |
| 14 | -use Brickrouge\Form; |
|
| 15 | 14 | use ICanBoogie\ErrorCollection; |
| 16 | 15 | use ICanBoogie\HTTP\Request; |
| 17 | - |
|
| 18 | 16 | use Icybee\Modules\Users\Module; |
| 19 | 17 | use Icybee\Modules\Users\User; |
| 20 | 18 | use Icybee\Modules\Users\UserModel; |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use ICanBoogie\ErrorCollection; |
| 15 | 15 | use ICanBoogie\Operation; |
| 16 | - |
|
| 17 | 16 | use Icybee\Modules\Users\Module; |
| 18 | 17 | use Icybee\Modules\Users\User; |
| 19 | 18 | |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use ICanBoogie\ErrorCollection; |
| 15 | 15 | use ICanBoogie\Operation; |
| 16 | - |
|
| 17 | 16 | use Icybee\Modules\Users\User; |
| 18 | 17 | |
| 19 | 18 | /** |
@@ -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\Roles\Binding\UserBindings; |
| 25 | 22 | use Icybee\Modules\Users\User; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Icybee\Modules\Users\Element; |
| 13 | 13 | |
| 14 | 14 | use Brickrouge\Element; |
| 15 | - |
|
| 16 | 15 | use Icybee\Binding\Core\PrototypedBindings; |
| 17 | 16 | |
| 18 | 17 | /** |
@@ -11,8 +11,6 @@ discard block |
||
| 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; |
@@ -20,7 +18,6 @@ discard block |
||
| 20 | 18 | use Brickrouge\Form; |
| 21 | 19 | use Brickrouge\Group; |
| 22 | 20 | use Brickrouge\Text; |
| 23 | - |
|
| 24 | 21 | use Icybee\Binding\Core\PrototypedBindings; |
| 25 | 22 | |
| 26 | 23 | class LoginForm extends Form |