Skip to content

Commit 048b66d

Browse files
Apply php-cs-fixer rule for array_key_exists()
1 parent bafb8e5 commit 048b66d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DependencyInjection/ValidateWorkflowsPass.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ public function process(ContainerBuilder $container)
3434
$taggedServices = $container->findTaggedServiceIds($this->definitionTag, true);
3535
foreach ($taggedServices as $id => $tags) {
3636
foreach ($tags as $tag) {
37-
if (!array_key_exists('name', $tag)) {
37+
if (!\array_key_exists('name', $tag)) {
3838
throw new RuntimeException(sprintf('The "name" for the tag "%s" of service "%s" must be set.', $this->definitionTag, $id));
3939
}
40-
if (!array_key_exists('type', $tag)) {
40+
if (!\array_key_exists('type', $tag)) {
4141
throw new RuntimeException(sprintf('The "type" for the tag "%s" of service "%s" must be set.', $this->definitionTag, $id));
4242
}
43-
if (!array_key_exists('marking_store', $tag)) {
43+
if (!\array_key_exists('marking_store', $tag)) {
4444
throw new RuntimeException(sprintf('The "marking_store" for the tag "%s" of service "%s" must be set.', $this->definitionTag, $id));
4545
}
4646

0 commit comments

Comments
 (0)