Code Styling

This commit is contained in:
2026-06-21 22:12:05 +02:00
parent aebb2f9aaa
commit c1ef1d71ad
49 changed files with 650 additions and 159 deletions
+6
View File
@@ -2,6 +2,8 @@
namespace App\Scopes;
use App\Domains\Admin\Repositories\AdminTenantRepository;
use App\Domains\Admin\Repositories\AdminUserRepository;
use App\Models\Tenant;
use App\Providers\AuthCheckProvider;
use App\Repositories\CostUnitRepository;
@@ -23,6 +25,8 @@ abstract class CommonController {
protected EventRepository $events;
protected EventParticipantRepository $eventParticipants;
protected EstimatesRepository $estimates;
protected AdminUserRepository $adminUsers;
protected AdminTenantRepository $adminTenants;
public function __construct() {
$this->tenant = app('tenant');
@@ -33,6 +37,8 @@ abstract class CommonController {
$this->events = new EventRepository();
$this->eventParticipants = new EventParticipantRepository();
$this->estimates = new EstimatesRepository();
$this->adminUsers = new AdminUserRepository();
$this->adminTenants = new AdminTenantRepository();
}
protected function checkAuth() {