Skip to content

Commit 688685a

Browse files
committed
typo
1 parent a364e2f commit 688685a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nette/php-generator",
3-
"description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.2 features.",
3+
"description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.3 features.",
44
"keywords": ["nette", "php", "code", "scaffolding"],
55
"homepage": "https://nette.org",
66
"license": ["BSD-3-Clause", "GPL-2.0-only", "GPL-3.0-only"],
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": ">=8.0 <8.4",
18+
"php": "8.0 - 8.3",
1919
"nette/utils": "^3.2.9 || ^4.0"
2020
},
2121
"require-dev": {

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ $function->addParameter('a');
282282
$function->addParameter('b');
283283
echo $function;
284284

285-
// or use PsrPrinter for output conforming to PSR-2 / PSR-12
285+
// or use PsrPrinter for output conforming to PSR-2 / PSR-12 / PER
286286
// echo (new Nette\PhpGenerator\PsrPrinter)->printFunction($function);
287287
```
288288

@@ -310,7 +310,7 @@ $closure->addUse('c')
310310
->setReference();
311311
echo $closure;
312312

313-
// or use PsrPrinter for output conforming to PSR-2 / PSR-12
313+
// or use PsrPrinter for output conforming to PSR-2 / PSR-12 / PER
314314
// echo (new Nette\PhpGenerator\PsrPrinter)->printClosure($closure);
315315
```
316316

@@ -690,7 +690,7 @@ $method->addParameter('arg')
690690

691691
echo $namespace;
692692

693-
// or use PsrPrinter for output conforming to PSR-2 / PSR-12
693+
// or use PsrPrinter for output conforming to PSR-2 / PSR-12 / PER
694694
// echo (new Nette\PhpGenerator\PsrPrinter)->printNamespace($namespace);
695695
```
696696

@@ -743,7 +743,7 @@ $function = $file->addFunction('Foo\foo');
743743

744744
echo $file;
745745

746-
// or use PsrPrinter for output conforming to PSR-2 / PSR-12
746+
// or use PsrPrinter for output conforming to PSR-2 / PSR-12 / PER
747747
// echo (new Nette\PhpGenerator\PsrPrinter)->printFile($file);
748748
```
749749

0 commit comments

Comments
 (0)