From 3a7b2991e888f3e48c5e1779f42960adf142441a Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Thu, 16 Jul 2015 16:20:36 +0200 Subject: [PATCH] PSR-2 CS improvements --- lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index 2947b19ee..4e437b2ef 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -1089,12 +1089,12 @@ class ClassMetadataInfo implements ClassMetadata * * @return array */ - public function getAssociationCacheDefaults ($fieldName, array $cache) + public function getAssociationCacheDefaults($fieldName, array $cache) { if ( ! isset($cache['usage'])) { $cache['usage'] = isset($this->cache['usage']) - ? $this->cache['usage'] - : self::CACHE_USAGE_READ_ONLY; + ? $this->cache['usage'] + : self::CACHE_USAGE_READ_ONLY; } if ( ! isset($cache['region'])) {