@@ -5,9 +5,7 @@ |
||
| 5 | 5 | use Illuminate\Broadcasting\Channel; |
| 6 | 6 | use Illuminate\Queue\SerializesModels; |
| 7 | 7 | use Illuminate\Broadcasting\PrivateChannel; |
| 8 | -use Illuminate\Broadcasting\PresenceChannel; |
|
| 9 | 8 | use Illuminate\Broadcasting\InteractsWithSockets; |
| 10 | -use Illuminate\Contracts\Broadcasting\ShouldBroadcast; |
|
| 11 | 9 | |
| 12 | 10 | class GameView |
| 13 | 11 | { |
@@ -5,9 +5,7 @@ |
||
| 5 | 5 | use Illuminate\Broadcasting\Channel; |
| 6 | 6 | use Illuminate\Queue\SerializesModels; |
| 7 | 7 | use Illuminate\Broadcasting\PrivateChannel; |
| 8 | -use Illuminate\Broadcasting\PresenceChannel; |
|
| 9 | 8 | use Illuminate\Broadcasting\InteractsWithSockets; |
| 10 | -use Illuminate\Contracts\Broadcasting\ShouldBroadcast; |
|
| 11 | 9 | |
| 12 | 10 | class Obyx |
| 13 | 11 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Exception; |
| 6 | 6 | use Illuminate\Auth\AuthenticationException; |
| 7 | 7 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
| 8 | -use Intervention\Image\Exception\NotFoundException; |
|
| 9 | 8 | use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
| 10 | 9 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 11 | 10 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | if($exception instanceof NotFoundHttpException){ |
| 51 | 51 | return response()->view('errors.404', [], 404); |
| 52 | - }elseif($exception instanceof AccessDeniedHttpException){ |
|
| 52 | + } elseif($exception instanceof AccessDeniedHttpException){ |
|
| 53 | 53 | return response()->view('errors.403', [], 403); |
| 54 | 54 | } |
| 55 | 55 | return parent::render($request, $exception); |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace App\Http\Controllers\Api\v1; |
| 4 | 4 | |
| 5 | 5 | use App\Models\Game; |
| 6 | -use Carbon\Carbon; |
|
| 7 | -use Illuminate\Http\Request; |
|
| 8 | 6 | use App\Http\Controllers\Controller; |
| 9 | 7 | |
| 10 | 8 | class GameController extends Controller |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace App\Http\Controllers\Api\v1; |
| 4 | 4 | |
| 5 | 5 | use App\Models\GamesFile; |
| 6 | -use Illuminate\Http\Request; |
|
| 7 | 6 | use App\Http\Controllers\Controller; |
| 8 | 7 | |
| 9 | 8 | class TakoController extends Controller |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace App\Http\Controllers; |
| 4 | 4 | |
| 5 | 5 | use App\Models\User; |
| 6 | -use Illuminate\Http\Request; |
|
| 7 | -use Illuminate\Support\Facades\Input; |
|
| 8 | 6 | use App\Models\Developer; |
| 9 | 7 | |
| 10 | 8 | class AutocompleteController extends Controller |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | foreach($games as $g){ |
| 42 | 42 | if(is_null($g->subtitle) || $g->subtitle == ''){ |
| 43 | 43 | $result[] = ['id' => $g->id, 'value' => $g->title]; |
| 44 | - }else{ |
|
| 44 | + } else{ |
|
| 45 | 45 | $result[] = ['id' => $g->id, 'value' => $g->title.' -=- '.$g->subtitle]; |
| 46 | 46 | } |
| 47 | 47 | |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use App\Models\BoardThread; |
| 9 | 9 | use Carbon\Carbon; |
| 10 | 10 | use Illuminate\Http\Request; |
| 11 | -use Illuminate\Pagination\Paginator; |
|
| 12 | 11 | use Illuminate\Support\Facades\Input; |
| 13 | 12 | |
| 14 | 13 | class BoardController extends Controller |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | \DB::table('board_cats') |
| 59 | 59 | ->where('id', '=', $catid) |
| 60 | 60 | ->increment('order'); |
| 61 | - }else{ |
|
| 61 | + } else{ |
|
| 62 | 62 | \DB::table('board_cats') |
| 63 | 63 | ->where('id', '=', $catid) |
| 64 | 64 | ->decrement('order'); |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | $posts = BoardPost::with('user', 'thread', 'cat')->whereThreadId($threadid)->orderBy('id')->paginate(25); |
| 88 | 88 | if(!Input::get('page')){ |
| 89 | 89 | return redirect('board/thread/'.$threadid.'?page='.$posts->lastPage()); |
| 90 | - }else{ |
|
| 90 | + } else{ |
|
| 91 | 91 | return view('board.threads.show', [ |
| 92 | 92 | 'posts' => $posts, |
| 93 | 93 | ]); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers; |
| 4 | 4 | |
| 5 | -use App\Models\Game; |
|
| 6 | 5 | use App\Models\GamesDeveloper; |
| 7 | 6 | use Illuminate\Http\Request; |
| 8 | 7 | |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use App\Models\EventSetting; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | 8 | use Illuminate\Support\Facades\Input; |
| 9 | -use Illuminate\Validation\Rules\In; |
|
| 10 | 9 | |
| 11 | 10 | class EventController extends Controller |
| 12 | 11 | { |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $es->reg_end_date = $request->get('reg_end'); |
| 61 | 61 | if($request->get('reg_allowed') == "on"){ |
| 62 | 62 | $es->reg_allowed = 1; |
| 63 | - }else{ |
|
| 63 | + } else{ |
|
| 64 | 64 | $es->reg_allowed = 0; |
| 65 | 65 | } |
| 66 | 66 | $es->save(); |