add typehints and return types

This commit is contained in:
Massimiliano Arione
2019-09-12 15:47:49 +02:00
committed by Ben Ramsey
parent 3a42c259a7
commit 5459113b81
34 changed files with 185 additions and 175 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class FallbackNodeProvider implements NodeProviderInterface
* @return string|null System node ID as a hexadecimal string
* @throws Exception
*/
public function getNode()
public function getNode(): ?string
{
foreach ($this->nodeProviders as $provider) {
if ($node = $provider->getNode()) {