From 140960ebb1f1b5568d7921e1a54381a5640501c7 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 7 Sep 2016 23:17:40 +0200 Subject: [PATCH] #5975 short array syntax --- lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php index ebea42cac..14aed2a67 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php @@ -330,7 +330,7 @@ class ObjectHydrator extends AbstractHydrator $rowData = $this->gatherRowData($row, $id, $nonemptyComponents); // reset result pointers for each data row - $this->resultPointers = array(); + $this->resultPointers = []; // Hydrate the data chunks foreach ($rowData['data'] as $dqlAlias => $data) {