Skip to content

Commit 2461af9

Browse files
committed
Update README
1 parent 16297ab commit 2461af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ or recursively instantiating them with *DependencyResolver* itself.
1010
## Features
1111

1212
- Based on PSR-11
13-
- PHP 8.0 ready (supports union type hints; see examples below)
13+
- Supports PHP 8 (8.0, 8.1, 8.2, 8.3 and 8.4) — full support of union type hints, and other modern features.
1414
- PHP 7.1+ compatible
1515
- Recursive dependencies autowiring
1616
- Semver
@@ -39,7 +39,7 @@ final class MyFancyService
3939
}
4040
}
4141

42-
// Construct service instance, providing dependencies in-place:
42+
// Construct a service instance, providing dependencies in-place:
4343
$resolver = new DependencyResolver();
4444
$service = $resolver->construct(MyFancyService::class, [
4545
'log' => function (string $priority, string $message) {

0 commit comments

Comments
 (0)