From 65cd2e14392c0ab2e27e3b202543c67a379dce29 Mon Sep 17 00:00:00 2001 From: Stefano Azzalini Date: Mon, 22 Jun 2015 17:01:09 +0200 Subject: [PATCH] Use classic array declaration instead of the short one Use this notation to be compatible with php >=5.3.3 --- src/Payum/PayumModule/Registry/RegistryFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Payum/PayumModule/Registry/RegistryFactory.php b/src/Payum/PayumModule/Registry/RegistryFactory.php index 34accb8..e6c99c1 100644 --- a/src/Payum/PayumModule/Registry/RegistryFactory.php +++ b/src/Payum/PayumModule/Registry/RegistryFactory.php @@ -19,7 +19,7 @@ public function createService(ServiceLocatorInterface $serviceLocator) $registry = new ServiceLocatorAwareRegistry( $options->getGateways(), $options->getStorages(), - [] + array() ); //TODO: quick fix. we should avoid early init of services. has to be reworked to be lazy