10000 Fix CS · symfony/symfony@4197002 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4197002

Browse files
committed
Fix CS
1 parent 1cdb2bc commit 4197002

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public function set($id, $service)
219219
*/
220220
public function has($id)
221221
{
222-
for ($i = 2;;) {
222+
for ($i = 2; ;) {
223223
if (isset($this->privates[$id])) {
224224
@trigger_error(sprintf('The "%s" service is private, checking for its existence is deprecated since Symfony 3.2 and will fail in 4.0.', $id), E_USER_DEPRECATED);
225225
}
@@ -277,7 +277,7 @@ public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE
277277
// available services. Service IDs are case insensitive, however since
278278
// this method can be called thousands of times during a request, avoid
279279
// calling $this->normalizeId($id) unless necessary.
280-
for ($i = 2;;) {
280+
for ($i = 2; ;) {
281281
if (isset($this->privates[$id])) {
282282
@trigger_error(sprintf('The "%s" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead.', $id), E_USER_DEPRECATED);
283283
}

0 commit comments

Comments
 (0)
0