Skip to content

Commit

Permalink
Replace deprecated function.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jun 25, 2020
1 parent 6d89920 commit 8107883
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/Resources/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
->services()
->set('cas', Cas::class)
->args([
ref('psr.request'),
ref('cas.configuration'),
ref('psr18.http_client'),
ref('nyholm.psr7.psr17_factory'),
ref('nyholm.psr7.psr17_factory'),
ref('nyholm.psr7.psr17_factory'),
ref('nyholm.psr7.psr17_factory'),
ref('cache.app'),
ref('logger'),
service('psr.request'),
service('cas.configuration'),
service('psr18.http_client'),
service('nyholm.psr7.psr17_factory'),
service('nyholm.psr7.psr17_factory'),
service('nyholm.psr7.psr17_factory'),
service('nyholm.psr7.psr17_factory'),
service('cache.app'),
service('logger'),
]);

$container
Expand All @@ -43,7 +43,7 @@
->set('cas.configuration', Symfony::class)
->args([
'%cas%',
ref('router'),
service('router'),
]);

$container
Expand Down Expand Up @@ -88,7 +88,7 @@
->services()
->set('symfony.request', RequestStack::class)
->factory([
ref('request_stack'),
service('request_stack'),
'getCurrentRequest',
])
->private();
Expand All @@ -97,11 +97,11 @@
->services()
->set(RequestInterface::class)
->factory([
ref('sensio_framework_extra.psr7.http_message_factory'),
service('sensio_framework_extra.psr7.http_message_factory'),
'createRequest',
])
->args([
ref('symfony.request'),
service('symfony.request'),
]);

$container
Expand Down

0 comments on commit 8107883

Please sign in to comment.