Skip to content

Commit 034c5f0

Browse files
committed
used #Deprecated
1 parent baad8da commit 034c5f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Bootstrap/Configurator.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Configurator
2525
{
2626
public const CookieSecret = 'nette-debug';
2727

28-
/** @deprecated use Configurator::CookieSecret */
28+
#[\Deprecated('use Configurator::CookieSecret')]
2929
public const COOKIE_SECRET = self::CookieSecret;
3030

3131

@@ -228,7 +228,7 @@ public function enableTracy(?string $logDirectory = null, ?string $email = null)
228228
}
229229

230230

231-
/** @deprecated use enableTracy() */
231+
#[\Deprecated('use enableTracy()')]
232232
public function enableDebugger(?string $logDirectory = null, ?string $email = null): void
233233
{
234234
$this->enableTracy($logDirectory, $email);

0 commit comments

Comments
 (0)