mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 09:20:21 -05:00
refactor: constructor promotions
This commit is contained in:
@@ -23,19 +23,13 @@ use Illuminate\Http\Request;
|
||||
*/
|
||||
class ChatStatusController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var ChatRepository
|
||||
*/
|
||||
private $chatRepository;
|
||||
|
||||
/**
|
||||
* ChatController 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