@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | $groups = (array) (null === $groups ? [] : (\is_string($groups) ? [$groups] : $groups)); |
| 51 | 51 | $tags = (array) (null === $tags ? [] : (\is_string($tags) ? [$tags] : $tags)); |
| 52 | 52 | |
| 53 | - $check = array_filter($this->toArray(), static function (CheckInterface $c) use ($alias, $groups, $tags) { |
|
| 53 | + $check = array_filter($this->toArray(), static function(CheckInterface $c) use ($alias, $groups, $tags) { |
|
| 54 | 54 | $inAlias = ($alias) ? \in_array($c->getId(), $alias, true) : true; |
| 55 | 55 | $inGroups = ($groups) ? \in_array($c->getGroup(), $groups, true) : true; |
| 56 | 56 | $inTags = ($tags) ? (bool) array_intersect($c->getTags(), $tags) : true; |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | if ($groups) { |
| 72 | 72 | $groups = \is_string($groups) ? [$groups] : $groups; |
| 73 | 73 | |
| 74 | - return array_filter($this->groups, static function ($t) use ($groups) { |
|
| 74 | + return array_filter($this->groups, static function($t) use ($groups) { |
|
| 75 | 75 | return \in_array($t->getName(), $groups, true); |
| 76 | 76 | }); |
| 77 | 77 | } |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | if ($tags) { |
| 90 | 90 | $tags = \is_string($tags) ? [$tags] : $tags; |
| 91 | 91 | |
| 92 | - return array_filter($this->tags, static function ($t) use ($tags) { |
|
| 92 | + return array_filter($this->tags, static function($t) use ($tags) { |
|
| 93 | 93 | return \in_array($t->getName(), $tags, true); |
| 94 | 94 | }); |
| 95 | 95 | } |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | { |
| 122 | 122 | foreach ($checkServiceMap as $checkId => $check) { |
| 123 | 123 | $checkServiceId = $check['serviceId']; |
| 124 | - $checkProxy = new Proxy(function () use ($checkServiceId, $checkId) { |
|
| 124 | + $checkProxy = new Proxy(function() use ($checkServiceId, $checkId) { |
|
| 125 | 125 | $this->checks[$checkId] = $this->container->get($checkServiceId); |
| 126 | 126 | |
| 127 | 127 | return $this->checks[$checkId]; |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | |
| 94 | 94 | if ($tags) { |
| 95 | 95 | $tags = $this->manager->findTags($check->getTags()); |
| 96 | - $tags = array_map(static function ($t) { |
|
| 96 | + $tags = array_map(static function($t) { |
|
| 97 | 97 | return $t->getLabel(); |
| 98 | 98 | }, $tags); |
| 99 | 99 | |