mirror of
https://github.com/danog/class-finder.git
synced 2024-11-30 04:29:03 +01:00
Remove short array syntax introduced in PHP 5.4
This commit is contained in:
parent
46a1565cda
commit
d1ffd7919f
@ -38,7 +38,7 @@ class PSR4Namespace
|
||||
public function countMatchingNamespaceSegments($namespace)
|
||||
{
|
||||
$namespaceFragments = explode('\\', $namespace);
|
||||
$undefinedNamespaceFragments = [];
|
||||
$undefinedNamespaceFragments = array();
|
||||
|
||||
while($namespaceFragments) {
|
||||
$possibleNamespace = implode('\\', $namespaceFragments) . '\\';
|
||||
|
Loading…
Reference in New Issue
Block a user