Skip to content

Commit a2b1568

Browse files
Merge branch '6.0' into 6.1
* 6.0: [6.0] cs fixes [5.4] cs fixes [5.3] cs fixes [Cache] Fix saving items with no expiration through ProxyAdapter CS fixes fix merge Remove pointless assignment [HttpClient] Fix tracing requests made after calling withOptions() [Cache] disable lock on CLI Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)" [HttpKernel] fix how configuring log-level and status-code by exception works [VarDumper] add more "transient-on-macos" groups
2 parents 05a2c97 + 4a83dbc commit a2b1568

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

Compiler/PriorityTaggedServiceTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ private function findAndSortTaggedServices(string|TaggedIteratorArgument $tagNam
114114
*/
115115
class PriorityTaggedServiceUtil
116116
{
117-
/**
118-
* @return string|int|null
119-
*/
120117
public static function getDefault(ContainerBuilder $container, string $serviceId, string $class, string $defaultMethod, string $tagName, ?string $indexAttribute, bool $checkTaggedItem): string|int|null
121118
{
122119
if (!($r = $container->getReflectionClass($class)) || (!$checkTaggedItem && !$r->hasMethod($defaultMethod))) {

Definition.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,6 @@ public function setConfigurator(string|array|Reference|null $configurator): stat
710710

711711
/**
712712
* Gets the configurator to call after the service is fully initialized.
713-
*
714-
* @return string|array|null
715713
*/
716714
public function getConfigurator(): string|array|null
717715
{

Loader/PhpFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function executeCallback(callable $callback, ContainerConfigurator $cont
135135
default:
136136
try {
137137
$configBuilder = $this->configBuilder($type);
138-
} catch (InvalidArgumentException | \LogicException $e) {
138+
} catch (InvalidArgumentException|\LogicException $e) {
139139
throw new \InvalidArgumentException(sprintf('Could not resolve argument "%s" for "%s".', $type.' $'.$parameter->getName(), $path), 0, $e);
140140
}
141141
$configBuilders[] = $configBuilder;

ParameterBag/ContainerBag.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ public function all(): array
3535

3636
/**
3737
* {@inheritdoc}
38-
*
39-
* @return array|bool|string|int|float|null
4038
*/
4139
public function get(string $name): array|bool|string|int|float|null
4240
{

ParameterBag/ParameterBagInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ public function all(): array;
4343
/**
4444
* Gets a service container parameter.
4545
*
46-
* @return array|bool|string|int|float|null
47-
*
4846
* @throws ParameterNotFoundException if the parameter is not defined
4947
*/
5048
public function get(string $name): array|bool|string|int|float|null;

0 commit comments

Comments
 (0)