@@ -18,7 +18,7 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Create a new event instance. |
| 20 | 20 | * |
| 21 | - * @param $gameid |
|
| 21 | + * @param integer $gameid |
|
| 22 | 22 | * @return void |
| 23 | 23 | */ |
| 24 | 24 | public function __construct($gameid) |
@@ -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 | { |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * Create a new event instance. |
| 21 | 21 | * |
| 22 | + * @param string $reason |
|
| 22 | 23 | * @return void |
| 23 | 24 | */ |
| 24 | 25 | public function __construct($reason, $user_id) |
@@ -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 | |
@@ -80,6 +80,9 @@ |
||
| 80 | 80 | return $v->maxviews; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | + /** |
|
| 84 | + * @param string $type |
|
| 85 | + */ |
|
| 83 | 86 | public static function getCommentsMax($type){ |
| 84 | 87 | $v = \DB::table('comments') |
| 85 | 88 | ->selectRaw('count(id) as maxviews') |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | return $ret; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param integer $size |
|
| 41 | + */ |
|
| 39 | 42 | public static function getReadableBytes($size){ |
| 40 | 43 | $bytes = $size; |
| 41 | 44 | |
@@ -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 |
@@ -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 |