Skip to content

Commit

Permalink
Change to use quagga/constracts package
Browse files Browse the repository at this point in the history
  • Loading branch information
puleeno committed Apr 13, 2024
1 parent 87d049d commit e480e76
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Http\Controllers;

use Quagga\Quagga\Constracts\BackendControllerConstract;
use Quagga\Quagga\Constracts\ControllerConstract;
use Quagga\Constracts\BackendControllerConstract;
use Quagga\Constracts\ControllerConstract;
use Psr\Http\Message\ResponseInterface;
use ReflectionClass;

Expand Down
4 changes: 2 additions & 2 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

namespace App\Http;

use Quagga\Quagga\Constracts\ApplicationConstract;
use Quagga\Constracts\ApplicationConstract;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Slim\App;

class Kernel
{
/**
* @var \Quagga\Quagga\Constracts\ApplicationConstract
* @var \Quagga\Constracts\ApplicationConstract
*/
private $app;

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/AssetsMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Http\Middleware;

use Quagga\Quagga\Constracts\MiddlewareConstract;
use Quagga\Constracts\MiddlewareConstract;
use Quagga\Quagga\AssetManager;
use Quagga\Quagga\Helper;
use Quagga\Quagga\HookManager;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Http\Middleware;

use Quagga\Quagga\Constracts\AuthenticateMiddlewareConstract;
use Quagga\Constracts\AuthenticateMiddlewareConstract;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\MiddlewareInterface;
Expand Down
4 changes: 2 additions & 2 deletions app/Traits/AssetBaseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Traits;

use Quagga\Quagga\Constracts\Assets\AssetOptionsConstract;
use Quagga\Constracts\Assets\AssetOptionsConstract;
use Quagga\Quagga\Assets\AssetOptions;
use Quagga\Quagga\Helper;

Expand All @@ -18,7 +18,7 @@ public function getOptions(): ?AssetOptionsConstract
public function getOption($name, $defaultValue = null, $classObject = null)
{
/**
* @var \Quagga\Quagga\Constracts\Assets\AssetOptionsConstract
* @var \Quagga\Constracts\Assets\AssetOptionsConstract
*/
$options = $this->getOptions() ?? new AssetOptions();
$value = $options->$name ?? $defaultValue;
Expand Down
2 changes: 1 addition & 1 deletion app/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Quagga;

use App\Common\Option;
use Quagga\Quagga\Constracts\AssetTypeEnum;
use Quagga\Constracts\AssetTypeEnum;
use Quagga\Quagga\AssetManager;
use Quagga\Quagga\Assets\AssetStylesheetOptions;
use Quagga\Quagga\Assets\AssetUrl;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
],
"require": {
"davedevelopment/phpmig": "^1.7",
"quagga/framework": "*",
"laravel/serializable-closure": "^1.3",
"polarising/bcrypt": "^1.0",
"quagga/framework": "dev-master",
"ramsey/uuid": "^4.2.3",
"slim/twig-view": "^3.3",
"spatie/schema-org": "^3.9",
Expand Down

0 comments on commit e480e76

Please sign in to comment.