Skip to content

Commit e8a70d9

Browse files
committed
typo
1 parent aab1e13 commit e8a70d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PhpGenerator/Helpers.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ final class Helpers
2222
public const PHP_IDENT = '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*';
2323

2424

25-
/** @deprecated use Nette\PhpGenerator\Dumper::dump() */
25+
/** @deprecated use (new Nette\PhpGenerator\Dumper)->dump() */
2626
public static function dump($var): string
2727
{
2828
return (new Dumper)->dump($var);
2929
}
3030

3131

32-
/** @deprecated use Nette\PhpGenerator\Dumper::format() */
32+
/** @deprecated use (new Nette\PhpGenerator\Dumper)->format() */
3333
public static function format(string $statement, ...$args): string
3434
{
3535
return (new Dumper)->format($statement, ...$args);
3636
}
3737

3838

39-
/** @deprecated use Nette\PhpGenerator\Dumper::format() */
39+
/** @deprecated use (new Nette\PhpGenerator\Dumper)->format() */
4040
public static function formatArgs(string $statement, array $args): string
4141
{
4242
return (new Dumper)->format($statement, ...$args);

0 commit comments

Comments
 (0)