mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 01:09:58 -05:00
refactor: constructor promotions
This commit is contained in:
@@ -30,19 +30,13 @@ use ZipArchive;
|
||||
*/
|
||||
class PlaylistController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var ChatRepository
|
||||
*/
|
||||
private $chatRepository;
|
||||
|
||||
/**
|
||||
* PlaylistController Constructor.
|
||||
*
|
||||
* @param \App\Repositories\ChatRepository $chatRepository
|
||||
*/
|
||||
public function __construct(ChatRepository $chatRepository)
|
||||
public function __construct(private ChatRepository $chatRepository)
|
||||
{
|
||||
$this->chatRepository = $chatRepository;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user