|
@@ -133,7 +133,7 @@ discard block |
|
|
block discarded – undo |
|
133
|
133
|
} |
|
134
|
134
|
$metaCount = count($meta->oDataEntityMap); |
|
135
|
135
|
$entityCount = count($entities); |
|
136
|
|
- assert($metaCount == 2 * $entityCount + 1); |
|
|
136
|
+ assert($metaCount == 2 * $entityCount+1); |
|
137
|
137
|
|
|
138
|
138
|
if (null === $objectModel->getAssociations()) { |
|
139
|
139
|
return; |
|
@@ -441,7 +441,7 @@ discard block |
|
|
block discarded – undo |
|
441
|
441
|
$knownKeys = array_keys($knownSide); |
|
442
|
442
|
$unknownKeys = array_keys($unknownSide); |
|
443
|
443
|
$dualKeys = array_intersect($knownKeys, $unknownKeys); |
|
444
|
|
- assert(count($hooks) == (count($unknownKeys) + count($knownKeys) - count($dualKeys))); |
|
|
444
|
+ assert(count($hooks) == (count($unknownKeys)+count($knownKeys)-count($dualKeys))); |
|
445
|
445
|
// if either list is empty, bail out - there's nothing to do |
|
446
|
446
|
if (0 === count($knownSide) || 0 === count($unknownSide)) { |
|
447
|
447
|
return []; |
Please login to merge, or discard this patch.