@@ -3,11 +3,8 @@ |
||
3 | 3 | namespace Afrittella\BackProject\Listeners; |
4 | 4 | |
5 | 5 | use Afrittella\BackProject\Events\UserRegistered; |
6 | -use Illuminate\Queue\InteractsWithQueue; |
|
7 | 6 | use Illuminate\Contracts\Queue\ShouldQueue; |
8 | - |
|
9 | 7 | use Afrittella\BackProject\Repositories\Users; |
10 | - |
|
11 | 8 | use Illuminate\Support\Facades\Log; |
12 | 9 | use Afrittella\BackProject\Notifications\RegistrationEmail; |
13 | 10 |
@@ -3,11 +3,7 @@ |
||
3 | 3 | namespace Afrittella\BackProject\Listeners; |
4 | 4 | |
5 | 5 | use Afrittella\BackProject\Events\UserRegistered; |
6 | -use Illuminate\Queue\InteractsWithQueue; |
|
7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
8 | - |
|
9 | 6 | use Afrittella\BackProject\Repositories\Users; |
10 | - |
|
11 | 7 | use Illuminate\Support\Facades\Log; |
12 | 8 | use Afrittella\BackProject\Notifications\RegistrationEmail; |
13 | 9 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Bus\Queueable; |
6 | 6 | use Illuminate\Notifications\Notification; |
7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
8 | 7 | use Illuminate\Notifications\Messages\MailMessage; |
9 | 8 | |
10 | 9 | class RegistrationEmail extends Notification |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Afrittella\BackProject\Exceptions\NotSavedException; |
8 | 8 | use Afrittella\BackProject\Exceptions\RepositoryException; |
9 | 9 | use Afrittella\BackProject\Repositories\Criteria\Criteria; |
10 | -use Illuminate\Container\Container as App; |
|
11 | 10 | use Illuminate\Database\Eloquent\Model; |
12 | 11 | use Illuminate\Support\Collection; |
13 | 12 |
@@ -2,7 +2,7 @@ |
||
2 | 2 | namespace Afrittella\BackProject\Repositories\Criteria\Attachments; |
3 | 3 | |
4 | 4 | use Afrittella\BackProject\Repositories\Criteria\Criteria; |
5 | -use Afrittella\BackProject\Contracts\BaseRepository as Repository; |
|
5 | +use Afrittella\BackProject\Contracts\BaseRepository as Repository; |
|
6 | 6 | use Illuminate\Support\Facades\Auth; |
7 | 7 | |
8 | 8 | class ByUser extends Criteria { |
@@ -2,7 +2,7 @@ |
||
2 | 2 | namespace Afrittella\BackProject\Repositories\Criteria; |
3 | 3 | |
4 | 4 | use Afrittella\BackProject\Repositories\Criteria\Criteria; |
5 | -use Afrittella\BackProject\Contracts\BaseRepository as Repository; |
|
5 | +use Afrittella\BackProject\Contracts\BaseRepository as Repository; |
|
6 | 6 | use Illuminate\Support\Facades\Auth; |
7 | 7 | |
8 | 8 | class ByUser extends Criteria { |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Afrittella\BackProject\Repositories; |
3 | 3 | |
4 | -use Afrittella\BackProject\Contracts\BaseRepository; |
|
5 | - |
|
6 | 4 | class Menus extends Base |
7 | 5 | { |
8 | 6 | function model() |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Afrittella\BackProject\Repositories; |
3 | 3 | |
4 | -use Afrittella\BackProject\Contracts\BaseRepository; |
|
5 | - |
|
6 | 4 | class Permissions extends Base |
7 | 5 | { |
8 | 6 | public function model() |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Afrittella\BackProject\Repositories; |
3 | 3 | |
4 | -use Afrittella\BackProject\Contracts\BaseRepository; |
|
5 | - |
|
6 | 4 | class Roles extends Base |
7 | 5 | { |
8 | 6 | public function model() |