Skip to content

Commit 7820d08

Browse files
committed
-
1 parent 1d11816 commit 7820d08

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.doctor-rst.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,3 @@ whitelist:
122122
- 'End to End Tests (E2E)'
123123
- '.. versionadded:: 2.2.0' # Panther
124124
- '* Inline code blocks use double-ticks (````like this````).'
125-
- '- !php/const App\Service\AnotherService::SOME_CONSTANT'

service_container.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ as arguments of other services:
343343
# constants can be built-in, user-defined, or Enums
344344
- !php/const E_ALL
345345
- !php/const PDO::FETCH_NUM
346-
- !php/const App\Service\AnotherService::SOME_CONSTANT
346+
- !php/const Symfony\Component\HttpKernel\Kernel::VERSION
347347
- !php/const App\Config\SomeEnum::SomeCase
348348
349349
# when not using autowiring, you can pass service arguments explicitly
@@ -384,7 +384,7 @@ as arguments of other services:
384384
<!-- constants can be built-in, user-defined, or Enums -->
385385
<argument type="constant">E_ALL</argument>
386386
<argument type="constant">PDO::FETCH_NUM</argument>
387-
<argument type="constant">App\Service\AnotherService::SOME_CONSTANT</argument>
387+
<argument type="constant">Symfony\Component\HttpKernel\Kernel::VERSION</argument>
388388
<argument type="constant">App\Config\SomeEnum::SomeCase</argument>
389389
390390
<!-- when not using autowiring, you can pass service arguments explicitly -->
@@ -427,7 +427,7 @@ as arguments of other services:
427427
// constants: built-in, user-defined, or Enums
428428
->arg(4, E_ALL)
429429
->arg(5, \PDO::FETCH_NUM)
430-
->arg(6, App\Service\AnotherService::SOME_CONSTANT)
430+
->arg(6, Symfony\Component\HttpKernel\Kernel::VERSION)
431431
->arg(7, App\Config\SomeEnum::SomeCase)
432432
433433
// when not using autowiring, you can pass service arguments explicitly

0 commit comments

Comments
 (0)