Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
app
Commits
74f5d64f
Commit
74f5d64f
authored
Oct 21, 2021
by
Bertrand Gauthier
Browse files
[FIX] Appel de ContainerInterface::has() avec un int plus toléré, normal !
parent
5b2d9556
Pipeline
#11190
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenApp/Message/MessageConfigNormalizer.php
View file @
74f5d64f
...
...
@@ -120,7 +120,7 @@ class MessageConfigNormalizer
// Si la spécification est le nom d'un service connu du service locator,
// la spécification devient le service lui-même.
if
(
$this
->
serviceLocator
&&
$this
->
serviceLocator
->
has
(
$specification
))
{
if
(
is_string
(
$specification
)
&&
$this
->
serviceLocator
&&
$this
->
serviceLocator
->
has
(
$specification
))
{
return
$this
->
serviceLocator
->
get
(
$specification
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment