Skip to content

Commit 70f9e96

Browse files
committed
added deprecation info
1 parent ad94f10 commit 70f9e96

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/Bootstrap/Configurator.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ public function setTimeZone(string $timezone): static
118118
}
119119

120120

121-
/**
122-
* Alias for addStaticParameters()
123-
*/
121+
/** @deprecated use addStaticParameters() */
124122
public function addParameters(array $params): static
125123
{
126124
return $this->addStaticParameters($params);
@@ -191,9 +189,7 @@ public function enableTracy(?string $logDirectory = null, ?string $email = null)
191189
}
192190

193191

194-
/**
195-
* Alias for enableTracy()
196-
*/
192+
/** @deprecated use enableTracy() */
197193
public function enableDebugger(?string $logDirectory = null, ?string $email = null): void
198194
{
199195
$this->enableTracy($logDirectory, $email);

src/Configurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Nette;
1111

1212
if (false) {
13-
/** alias for Nette\Bootstrap\Configurator */
13+
/** @deprecated use Nette\Bootstrap\Configurator */
1414
class Configurator extends Bootstrap\Configurator
1515
{
1616
}

0 commit comments

Comments
 (0)