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'], ]); } }