Address static analysis issues

This commit is contained in:
Ben Ramsey
2020-02-08 13:14:17 -06:00
parent f965293da9
commit fb4f54fb84
5 changed files with 14 additions and 11 deletions
+4 -1
View File
@@ -35,7 +35,10 @@ class FallbackNodeProvider implements NodeProviderInterface
$this->nodeProviders = $providers;
}
public function getNode(): ?string
/**
* @inheritDoc
*/
public function getNode()
{
foreach ($this->nodeProviders as $provider) {
if ($node = $provider->getNode()) {