Skip to content

Commit 70d41b7

Browse files
committed
Removing ServiceAbstractBase.php
1 parent 7ec35d2 commit 70d41b7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/psr11.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,9 @@ You can change the environments in the `RestReferenceArchitecture\Psr11` class a
6666
if (is_null(self::$definition)) {
6767
self::$definition = (new Definition())
6868
->addConfig('dev')
69-
->addConfig('test')
70-
->inheritFrom('dev')
71-
->addConfig('staging')
72-
->inheritFrom('dev')
73-
->addConfig('prod')
74-
->inheritFrom('staging')
69+
->addConfig('test', inheritFrom: ['dev'])
70+
->addConfig('staging', inheritFrom: ['dev'])
71+
->addConfig('prod', inheritFrom: ['staging'])
7572
->inheritFrom('dev');
7673
// ->setCache($somePsr16Implementation); // This will cache the result;
7774
}

0 commit comments

Comments
 (0)