@@ -42,14 +42,14 @@ |
||
42 | 42 | // through relations |
43 | 43 | foreach ($toCompare as $relationKey => $compareValue) { |
44 | 44 | foreach ($this->records as $positionKey => $knownRecord) { |
45 | - if ( !isset($toProcess[$positionKey]) ) { // not twice |
|
45 | + if (!isset($toProcess[$positionKey])) { // not twice |
|
46 | 46 | continue; |
47 | 47 | } |
48 | - if ( !$knownRecord->offsetExists($relationKey) ) { // unknown relation key in record is not allowed into compare |
|
48 | + if (!$knownRecord->offsetExists($relationKey)) { // unknown relation key in record is not allowed into compare |
|
49 | 49 | unset($toProcess[$positionKey]); |
50 | 50 | continue; |
51 | 51 | } |
52 | - if ( strval($knownRecord->offsetGet($relationKey)) != strval($compareValue) ) { |
|
52 | + if (strval($knownRecord->offsetGet($relationKey)) != strval($compareValue)) { |
|
53 | 53 | unset($toProcess[$positionKey]); |
54 | 54 | continue; |
55 | 55 | } |