@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * Remove the specified resource from storage. |
52 | 52 | * |
53 | 53 | * @param int $id |
54 | - * @return \Illuminate\Http\Response |
|
54 | + * @return \Illuminate\Http\JsonResponse |
|
55 | 55 | */ |
56 | 56 | public function destroy($id) |
57 | 57 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | /** |
166 | 166 | * Show accept user invitation form. |
167 | 167 | * |
168 | - * @param $invitation |
|
168 | + * @param boolean $invitation |
|
169 | 169 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
170 | 170 | */ |
171 | 171 | protected function showAcceptUserInvitationForm($invitation) |
@@ -5,8 +5,8 @@ |
||
5 | 5 | use App\User; |
6 | 6 | use Illuminate\Database\Eloquent\Model; |
7 | 7 | |
8 | -use Acacha\Stateful\Traits\StatefulTrait; |
|
9 | 8 | use Acacha\Stateful\Contracts\Stateful; |
9 | +use Acacha\Stateful\Traits\StatefulTrait; |
|
10 | 10 | use Venturecraft\Revisionable\RevisionableTrait; |
11 | 11 | |
12 | 12 | /** |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Acacha\Users\Traits\HasPaginator; |
8 | 8 | use Google; |
9 | 9 | use Illuminate\Http\Request; |
10 | -use Illuminate\Pagination\LengthAwarePaginator; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * Class GoogleAppsUsersController. |
@@ -4,17 +4,17 @@ |
||
4 | 4 | |
5 | 5 | use Acacha\Stateful\Providers\StatefulServiceProvider; |
6 | 6 | use Acacha\Users\Facades\AcachaUsers; |
7 | -use Illuminate\Foundation\AliasLoader; |
|
8 | -use Illuminate\Support\ServiceProvider; |
|
9 | -use PulkitJalan\Google\Facades\Google; |
|
10 | -use PulkitJalan\Google\GoogleServiceProvider; |
|
11 | 7 | use Acacha\Users\Models\UserInvitation; |
12 | 8 | use Acacha\Users\Observers\UserInvitationObserver; |
13 | 9 | use Acacha\Users\Observers\UserObserver; |
14 | 10 | use App\User; |
15 | 11 | use Broadcast; |
12 | +use Illuminate\Foundation\AliasLoader; |
|
13 | +use Illuminate\Support\ServiceProvider; |
|
16 | 14 | use Laravel\Passport\Passport; |
17 | 15 | use Laravel\Passport\PassportServiceProvider; |
16 | +use PulkitJalan\Google\Facades\Google; |
|
17 | +use PulkitJalan\Google\GoogleServiceProvider; |
|
18 | 18 | use Spatie\Permission\PermissionServiceProvider; |
19 | 19 | |
20 | 20 | /** |