From 8ad948799a04c7789684df41137cb4083dadee54 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Thu, 30 Apr 2020 09:20:48 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Http/Controllers/Staff/ChatRoomController.php | 2 +- app/Services/Clients/TmdbClient.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Staff/ChatRoomController.php b/app/Http/Controllers/Staff/ChatRoomController.php index bc6a8414de..fec978395f 100644 --- a/app/Http/Controllers/Staff/ChatRoomController.php +++ b/app/Http/Controllers/Staff/ChatRoomController.php @@ -13,9 +13,9 @@ namespace App\Http\Controllers\Staff; -use App\Models\User; use App\Http\Controllers\Controller; use App\Models\Chatroom; +use App\Models\User; use App\Repositories\ChatRepository; use Illuminate\Http\Request; diff --git a/app/Services/Clients/TmdbClient.php b/app/Services/Clients/TmdbClient.php index 404cb360ec..874b93f8e5 100755 --- a/app/Services/Clients/TmdbClient.php +++ b/app/Services/Clients/TmdbClient.php @@ -348,11 +348,11 @@ private function formatCasts($credits, $role) foreach ($credits['cast'] as $credit) { if ($credit['profile_path'] !== null) { $casts[] = new Person([ - 'tmdb' => $credit['id'], - 'name' => $credit['name'], + 'tmdb' => $credit['id'], + 'name' => $credit['name'], 'character' => $credit['character'], - 'order' => $credit['order'], - 'photo' => 'https://image.tmdb.org/t/p/w138_and_h175_face' . $credit['profile_path'] + 'order' => $credit['order'], + 'photo' => 'https://image.tmdb.org/t/p/w138_and_h175_face'.$credit['profile_path'], ]); } }