From 49ebf7cb24c5cc1de091d3e5d928118b44676574 Mon Sep 17 00:00:00 2001 From: dantleech Date: Sun, 29 Jul 2018 19:06:51 +0100 Subject: [PATCH] Removed nullable type for PHP 7.0 support --- src/Factory/SymbolInformationFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factory/SymbolInformationFactory.php b/src/Factory/SymbolInformationFactory.php index 80c2b35..2bf6c5f 100644 --- a/src/Factory/SymbolInformationFactory.php +++ b/src/Factory/SymbolInformationFactory.php @@ -18,7 +18,7 @@ class SymbolInformationFactory * @param string $fqn If given, $containerName will be extracted from it * @return SymbolInformation|null */ - public static function fromNode($node, string $fqn = null):? SymbolInformation + public static function fromNode($node, string $fqn = null) { $symbol = new SymbolInformation(); if ($node instanceof Node\Statement\ClassDeclaration) {