From 999f903e94e2ffb06134aad6bfacc2a9cffafc1e Mon Sep 17 00:00:00 2001 From: Puleeno Date: Sat, 13 Apr 2024 14:09:19 +0700 Subject: [PATCH] Fix typo about namespace --- app/Http/Controllers/Controller.php | 4 ++-- app/Http/Kernel.php | 4 ++-- app/Http/Middleware/AssetsMiddleware.php | 2 +- app/Http/Middleware/Authenticate.php | 2 +- app/Traits/AssetBaseTrait.php | 4 ++-- app/bootstrap.php | 2 +- extensions/dashboard | 2 +- extensions/react | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index 0c0e140..4766718 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -2,8 +2,8 @@ namespace App\Http\Controllers; -use Quagga\Constracts\BackendControllerConstract; -use Quagga\Constracts\ControllerConstract; +use Quagga\Contracts\BackendControllerConstract; +use Quagga\Contracts\ControllerConstract; use Psr\Http\Message\ResponseInterface; use ReflectionClass; diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 7dba850..4d0a3cc 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -2,7 +2,7 @@ namespace App\Http; -use Quagga\Constracts\ApplicationConstract; +use Quagga\Contracts\ApplicationConstract; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Slim\App; @@ -10,7 +10,7 @@ class Kernel { /** - * @var \Quagga\Constracts\ApplicationConstract + * @var \Quagga\Contracts\ApplicationConstract */ private $app; diff --git a/app/Http/Middleware/AssetsMiddleware.php b/app/Http/Middleware/AssetsMiddleware.php index 818d10e..0d353c5 100644 --- a/app/Http/Middleware/AssetsMiddleware.php +++ b/app/Http/Middleware/AssetsMiddleware.php @@ -2,7 +2,7 @@ namespace App\Http\Middleware; -use Quagga\Constracts\MiddlewareConstract; +use Quagga\Contracts\MiddlewareConstract; use Quagga\Quagga\AssetManager; use Quagga\Quagga\Helper; use Quagga\Quagga\HookManager; diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index 1b44374..fea9d51 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -2,7 +2,7 @@ namespace App\Http\Middleware; -use Quagga\Constracts\AuthenticateMiddlewareConstract; +use Quagga\Contracts\AuthenticateMiddlewareConstract; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Server\MiddlewareInterface; diff --git a/app/Traits/AssetBaseTrait.php b/app/Traits/AssetBaseTrait.php index 3f849df..58e45dd 100644 --- a/app/Traits/AssetBaseTrait.php +++ b/app/Traits/AssetBaseTrait.php @@ -2,7 +2,7 @@ namespace App\Traits; -use Quagga\Constracts\Assets\AssetOptionsConstract; +use Quagga\Contracts\Assets\AssetOptionsConstract; use Quagga\Quagga\Assets\AssetOptions; use Quagga\Quagga\Helper; @@ -18,7 +18,7 @@ public function getOptions(): ?AssetOptionsConstract public function getOption($name, $defaultValue = null, $classObject = null) { /** - * @var \Quagga\Constracts\Assets\AssetOptionsConstract + * @var \Quagga\Contracts\Assets\AssetOptionsConstract */ $options = $this->getOptions() ?? new AssetOptions(); $value = $options->$name ?? $defaultValue; diff --git a/app/bootstrap.php b/app/bootstrap.php index 1b11052..475c521 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -3,7 +3,7 @@ namespace Quagga; use App\Common\Option; -use Quagga\Constracts\AssetTypeEnum; +use Quagga\Contracts\AssetTypeEnum; use Quagga\Quagga\AssetManager; use Quagga\Quagga\Assets\AssetStylesheetOptions; use Quagga\Quagga\Assets\AssetUrl; diff --git a/extensions/dashboard b/extensions/dashboard index b3f9f08..99c90c8 160000 --- a/extensions/dashboard +++ b/extensions/dashboard @@ -1 +1 @@ -Subproject commit b3f9f08c2b9240562e48d5cae99270140a68403c +Subproject commit 99c90c8c65f837f4c038863a9e14acdf852caa4d diff --git a/extensions/react b/extensions/react index 8628a9d..b2b0c78 160000 --- a/extensions/react +++ b/extensions/react @@ -1 +1 @@ -Subproject commit 8628a9d2c0cf1bdada83b88fb0682590c26f3b59 +Subproject commit b2b0c78bb33d0908975a0c63958d8644e6f83070