Skip to content

Commit

Permalink
Cleanup; move CookieQueue into http scope
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Mar 12, 2024
1 parent 0dbf436 commit 6d5422f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/AuthHttp/src/Middleware/AuthMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class AuthMiddleware implements MiddlewareInterface
public const TOKEN_STORAGE_ATTRIBUTE = 'tokenStorage';

/**
* @param ScopeInterface $scope. Deprecated, will be removed in v4.0.
* @param ScopeInterface $scope Deprecated, will be removed in v4.0.
*/
public function __construct(
private readonly ScopeInterface $scope,
Expand Down
2 changes: 1 addition & 1 deletion src/AuthHttp/src/Middleware/AuthTransportMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class AuthTransportMiddleware implements MiddlewareInterface
private readonly AuthMiddleware $authMiddleware;

/**
* @param ScopeInterface $scope. Deprecated, will be removed in v4.0.
* @param ScopeInterface $scope Deprecated, will be removed in v4.0.
*/
public function __construct(
string $transportName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class AuthTransportWithStorageMiddleware implements MiddlewareInterface
private readonly MiddlewareInterface $authMiddleware;

/**
* @param ScopeInterface $scope. Deprecated, will be removed in v4.0.
* @param ScopeInterface $scope Deprecated, will be removed in v4.0.
*/
public function __construct(
string $transportName,
Expand Down
2 changes: 1 addition & 1 deletion src/Cookies/src/CookieQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Spiral\Core\Attribute\Scope;

#[Scope('http.request')]
#[Scope('http')]
final class CookieQueue
{
public const ATTRIBUTE = 'cookieQueue';
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/Session/Middleware/SessionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class SessionMiddleware implements MiddlewareInterface
private const SIGNATURE_HEADERS = ['User-Agent', 'Accept-Language', 'Accept-Encoding'];

/**
* @param ScopeInterface $scope. Deprecated, will be removed in v4.0.
* @param ScopeInterface $scope Deprecated, will be removed in v4.0.
*/
public function __construct(
private readonly SessionConfig $config,
Expand Down

0 comments on commit 6d5422f

Please sign in to comment.