@@ -36,7 +36,7 @@ |
||
36 | 36 | // TODO Clean this up. What other situations need to be handled? What about uninitialized proxies here? |
37 | 37 | $propertyAccessor = PropertyAccess::createPropertyAccessor(); |
38 | 38 | $filteredSourceIdentities = $sourceEntities->filter( |
39 | - function ($sourceEntity) use ($propertyAccessor, $associationMetadataAdapter) { |
|
39 | + function($sourceEntity) use ($propertyAccessor, $associationMetadataAdapter) { |
|
40 | 40 | $propertyValue = $propertyAccessor->getValue($sourceEntity, $associationMetadataAdapter->getName()); |
41 | 41 | |
42 | 42 | return $propertyValue instanceof PersistentCollection && !$propertyValue->isInitialized(); |
@@ -50,7 +50,7 @@ |
||
50 | 50 | AssociationMetadataAdapter $associationMetadataAdapter |
51 | 51 | ): AssociationLoadingStrategyInterface { |
52 | 52 | $supportingAssociationLoadingStrategies = $this->associationLoadingStrategies->filter( |
53 | - function (AssociationLoadingStrategyInterface $associationLoadingStrategy) use ($associationMetadataAdapter) { |
|
53 | + function(AssociationLoadingStrategyInterface $associationLoadingStrategy) use ($associationMetadataAdapter) { |
|
54 | 54 | return $associationLoadingStrategy->supports($associationMetadataAdapter); |
55 | 55 | } |
56 | 56 | ); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | return new Deferred( |
55 | - function () use ($resolveCallback) { |
|
55 | + function() use ($resolveCallback) { |
|
56 | 56 | $this->load(); |
57 | 57 | |
58 | 58 | return $resolveCallback(); |