Removed nullable type for PHP 7.0 support
parent
f58e56cc7f
commit
49ebf7cb24
|
@ -18,7 +18,7 @@ class SymbolInformationFactory
|
||||||
* @param string $fqn If given, $containerName will be extracted from it
|
* @param string $fqn If given, $containerName will be extracted from it
|
||||||
* @return SymbolInformation|null
|
* @return SymbolInformation|null
|
||||||
*/
|
*/
|
||||||
public static function fromNode($node, string $fqn = null):? SymbolInformation
|
public static function fromNode($node, string $fqn = null)
|
||||||
{
|
{
|
||||||
$symbol = new SymbolInformation();
|
$symbol = new SymbolInformation();
|
||||||
if ($node instanceof Node\Statement\ClassDeclaration) {
|
if ($node instanceof Node\Statement\ClassDeclaration) {
|
||||||
|
|
Loading…
Reference in New Issue