Skip to content

Commit c90cd2f

Browse files
Fix multiple CS errors
1 parent a562202 commit c90cd2f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ private function dumpValue(mixed $value, bool $interpolate = true): string
19421942
return $this->dumpParameter($match[1]);
19431943
}
19441944

1945-
$replaceParameters = fn($match) => "'." . $this->dumpParameter($match[2]) . ".'";
1945+
$replaceParameters = fn ($match) => "'.".$this->dumpParameter($match[2]).".'";
19461946

19471947
return str_replace('%%', '%', preg_replace_callback('/(?<!%)(%)([^%]+)\1/', $replaceParameters, $this->export($value)));
19481948
} elseif ($value instanceof \UnitEnum) {

Loader/Configurator/ServicesConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(
3636
private PhpFileLoader $loader,
3737
array &$instanceof,
3838
private ?string $path = null,
39-
int &$anonymousCount = 0
39+
int &$anonymousCount = 0,
4040
) {
4141
$this->defaults = new Definition();
4242
$this->instanceof = &$instanceof;

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function registerClasses(Definition $prototype, string $namespace, string
160160
$notWhenAttributes = $r->getAttributes(WhenNot::class, \ReflectionAttribute::IS_INSTANCEOF);
161161

162162
if ($whenAttributes && $notWhenAttributes) {
163-
throw new LogicException(sprintf('The "%s" class cannot have both #[When] and #[WhenNot] attributes.', $class));
163+
throw new LogicException(\sprintf('The "%s" class cannot have both #[When] and #[WhenNot] attributes.', $class));
164164
}
165165

166166
if (!$whenAttributes && !$notWhenAttributes) {

0 commit comments

Comments
 (0)