PSR-2 CS improvements
This commit is contained in:
parent
32f0fefec7
commit
3a7b2991e8
@ -1089,12 +1089,12 @@ class ClassMetadataInfo implements ClassMetadata
|
|||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function getAssociationCacheDefaults ($fieldName, array $cache)
|
public function getAssociationCacheDefaults($fieldName, array $cache)
|
||||||
{
|
{
|
||||||
if ( ! isset($cache['usage'])) {
|
if ( ! isset($cache['usage'])) {
|
||||||
$cache['usage'] = isset($this->cache['usage'])
|
$cache['usage'] = isset($this->cache['usage'])
|
||||||
? $this->cache['usage']
|
? $this->cache['usage']
|
||||||
: self::CACHE_USAGE_READ_ONLY;
|
: self::CACHE_USAGE_READ_ONLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! isset($cache['region'])) {
|
if ( ! isset($cache['region'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user