Skip to content

Commit f964c12

Browse files
committed
[Config] Remove unnecessary condition
1 parent 16c0ad9 commit f964c12

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,10 +531,6 @@ public function getChildNodeDefinitions()
531531
*/
532532
public function find(string $nodePath): NodeDefinition
533533
{
534-
if ($nodePath === $this->name) {
535-
return $this;
536-
}
537-
538534
$firstPathSegment = (false === $pathSeparatorPos = strpos($nodePath, $this->pathSeparator))
539535
? $nodePath
540536
: substr($nodePath, 0, $pathSeparatorPos);

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