Skip to content

Commit 377eddb

Browse files
committed
use single line @var
1 parent 0c38916 commit 377eddb

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

system/Security/Security.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ class Security implements SecurityInterface
125125
*/
126126
public function __construct(App $config)
127127
{
128-
/**
129-
* @var SecurityConfig $security
130-
*/
128+
/** @var SecurityConfig $security */
131129
$security = config('Security');
132130

133131
// Store CSRF-related configurations
@@ -136,9 +134,7 @@ public function __construct(App $config)
136134
$this->regenerate = $security->regenerate ?? $config->CSRFRegenerate ?? $this->regenerate;
137135
$rawCookieName = $security->cookieName ?? $config->CSRFCookieName ?? $this->cookieName;
138136

139-
/**
140-
* @var CookieConfig $cookie
141-
*/
137+
/** @var CookieConfig $cookie */
142138
$cookie = config('Cookie');
143139

144140
$cookiePrefix = $cookie->prefix ?? $config->cookiePrefix;

system/Session/Session.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ public function __construct(SessionHandlerInterface $driver, App $config)
182182
$this->cookieSecure = $config->cookieSecure ?? $this->cookieSecure;
183183
$this->cookieSameSite = $config->cookieSameSite ?? $this->cookieSameSite;
184184

185-
/**
186-
* @var CookieConfig $cookie
187-
*/
185+
/** @var CookieConfig $cookie */
188186
$cookie = config('Cookie');
189187

190188
$this->cookie = new Cookie($this->sessionCookieName, '', [

0 commit comments

Comments
 (0)