@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php namespace NukaCode\Users\Repositories; |
2 | 2 | |
3 | -use Illuminate\Events\Dispatcher; |
|
4 | -use Illuminate\Support\Facades\Session; |
|
5 | -use Laracasts\Commander\Events\EventGenerator; |
|
6 | -use NukaCode\Users\Events\UserWasCreated; |
|
7 | -use NukaCode\Core\Repositories\BaseRepository; |
|
8 | -use NukaCode\Core\Ajax\Ajax; |
|
9 | -use NukaCode\Core\View\Helpers\Crud; |
|
3 | +use Illuminate\Events\Dispatcher; |
|
4 | +use Illuminate\Support\Facades\Session; |
|
5 | +use Laracasts\Commander\Events\EventGenerator; |
|
6 | +use NukaCode\Users\Events\UserWasCreated; |
|
7 | +use NukaCode\Core\Repositories\BaseRepository; |
|
8 | +use NukaCode\Core\Ajax\Ajax; |
|
9 | +use NukaCode\Core\View\Helpers\Crud; |
|
10 | 10 | use NukaCode\Core\View\Image; |
11 | 11 | |
12 | 12 | class UserRepository extends BaseRepository { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * Assign the given role to the user. |
22 | 22 | * |
23 | 23 | * @param string $role |
24 | - * @return mixed |
|
24 | + * @return \Illuminate\Database\Eloquent\Model |
|
25 | 25 | */ |
26 | 26 | public function assignRole($role) |
27 | 27 | { |
@@ -82,7 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * Get the services provided by the provider. |
84 | 84 | * |
85 | - * @return array |
|
85 | + * @return string[] |
|
86 | 86 | */ |
87 | 87 | public function provides() |
88 | 88 | { |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php namespace NukaCode\Users; |
2 | 2 | |
3 | -use Config; |
|
4 | -use Illuminate\Foundation\AliasLoader; |
|
5 | 3 | use NukaCode\Core\BaseServiceProvider; |
6 | 4 | |
7 | 5 | class UsersServiceProvider extends BaseServiceProvider { |