Skip to content

Commit 40f8590

Browse files
committed
used #Deprecated
1 parent 3eef81f commit 40f8590

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

@@ -217,7 +217,7 @@ public function enableTracy(?string $logDirectory = null, ?string $email = null)
217217
}
218218

219219

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

0 commit comments

Comments
 (0)