Skip to content

Commit d926473

Browse files
committed
php5.3.2 not supported short array definition
In string [Gedmo/Tree/Entity/Repository/MaterializedPathRepository.php#L97](https://github.com/Atlantic18/DoctrineExtensions/blob/2527d8f93779458e097447b5f92132bc65e672f4/lib/Gedmo/Tree/Entity/Repository/MaterializedPathRepository.php#L97) empty array defined as `[]` but `php5.3.2` not supports this syntax. But at the same time `php5.3.2` assigned as minimal supported version for `v2.4.12`
1 parent 2527d8f commit d926473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gedmo/Tree/Entity/Repository/MaterializedPathRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getPathQueryBuilder($node)
9494

9595
$node = new EntityWrapper($node, $this->_em);
9696
$nodePath = $node->getPropertyValue($config['path']);
97-
$paths = [];
97+
$paths = array();
9898
$nodePathLength = strlen($nodePath);
9999
$separatorMatchOffset = 0;
100100
while ($separatorMatchOffset < $nodePathLength) {

0 commit comments

Comments
 (0)