Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cef2f64

Browse files
committed
minor #40936 [DependencyInjection] Add missing bool type in procesValue() (TomasVotruba)
This PR was submitted for the 5.x branch but it was merged into the 5.2 branch instead. Discussion ---------- [DependencyInjection] Add missing bool type in procesValue() | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT This method is the only one missing `bool` type. Inside the method is used parent call, that has `bool` type already, so nothing else can be used in it. ![image](https://user-images.githubusercontent.com/924196/115951249-0052fb80-a4e0-11eb-8ee5-601b1d90038f.png) Commits ------- e0f8fe8 [DependencyInjection] Add missing bool type in procesValue()
2 parents 546f3b6 + e0f8fe8 commit cef2f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/CheckTypeDeclarationsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function __construct(bool $autoload = false, array $skippedIds = [])
7878
/**
7979
* {@inheritdoc}
8080
*/
81-
protected function processValue($value, $isRoot = false)
81+
protected function processValue($value, bool $isRoot = false)
8282
{
8383
if (isset($this->skippedIds[$this->currentId])) {
8484
return $value;

0 commit comments

Comments
 (0)