Skip to content

Commit 72e1fd0

Browse files
committed
- fix CI
1 parent 4c4b24e commit 72e1fd0

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Symfony/Component/Config/Builder/ConfigBuilderGenerator.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ public function NAME(string $VAR, TYPE $VALUE): static
260260
$comment .= sprintf(' * @psalm-return (TValue is array ? %s : static)'."\n ", $childClass->getFqcn());
261261
$comment = "/**\n$comment*/\n";
262262

263-
264263
if (null === $key = $node->getKeyAttribute()) {
265264
$body = '
266265
COMMENTpublic function NAME(mixed $value = []): CLASS|static
@@ -545,9 +544,4 @@ private function hasNormalizationClosures(NodeInterface $node): bool
545544

546545
return [] !== $r->getValue($node);
547546
}
548-
549-
private function getType(string $classType, bool $hasNormalizationClosures): string
550-
{
551-
return $classType.($hasNormalizationClosures ? '|scalar' : '');
552-
}
553547
}

src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ protected function createNode(): NodeInterface
374374

375375
if ($this->default) {
376376
if (!\is_array($this->defaultValue)) {
377-
throw new \InvalidArgumentException(sprintf('%s: the default value of an array node has to be an array.', $node->getPath()));
377+
throw new \InvalidArgumentException(sprintf('"%s": the default value of an array node has to be an array.', $node->getPath()));
378378
}
379379

380380
$node->setDefaultValue($this->defaultValue);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy