Skip to content

Commit 1f31471

Browse files
committed
remove return type hint for PHP 5 compatibility
1 parent 3ea4901 commit 1f31471

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Symfony/Component/Debug/DebugClassLoader.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ public static function disable()
124124
}
125125
}
126126

127-
public function findFile($class): ?string
127+
/**
128+
* @return string|null
129+
*/
130+
public function findFile($class)
128131
{
129132
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
130133
}

0 commit comments

Comments
 (0)