@@ -83,8 +83,9 @@ discard block  | 
                                                    ||
| 83 | 83 | |
| 84 | 84 | $condition = $this->getConditionArray($collection);  | 
                                                        
| 85 | 85 | |
| 86 | - foreach ($allCollections as $name => $coll)  | 
                                                        |
| 87 | - $condition += $this->getConditionArray($coll, true);  | 
                                                        |
| 86 | +        foreach ($allCollections as $name => $coll) { | 
                                                        |
| 87 | + $condition += $this->getConditionArray($coll, true);  | 
                                                        |
| 88 | + }  | 
                                                        |
| 88 | 89 | |
| 89 | 90 | return $condition;  | 
                                                        
| 90 | 91 | }  | 
                                                        
@@ -102,8 +103,9 @@ discard block  | 
                                                    ||
| 102 | 103 |              $condition = array('_id' => $this->createMongoId($condition)); | 
                                                        
| 103 | 104 | }  | 
                                                        
| 104 | 105 | |
| 105 | - if ($prefix)  | 
                                                        |
| 106 | - $condition = static::prefixArrayKeys($condition, $collection->getName() . ".");  | 
                                                        |
| 106 | +        if ($prefix) { | 
                                                        |
| 107 | + $condition = static::prefixArrayKeys($condition, $collection->getName() . ".");  | 
                                                        |
| 108 | + }  | 
                                                        |
| 107 | 109 | |
| 108 | 110 | return $condition;  | 
                                                        
| 109 | 111 | }  | 
                                                        
@@ -117,8 +119,9 @@ discard block  | 
                                                    ||
| 117 | 119 |      { | 
                                                        
| 118 | 120 | $new = array();  | 
                                                        
| 119 | 121 | |
| 120 | - foreach ($array as $key => $value)  | 
                                                        |
| 121 | -            $new["{$prefix}{$key}"] = $value; | 
                                                        |
| 122 | +        foreach ($array as $key => $value) { | 
                                                        |
| 123 | +                    $new["{$prefix}{$key}"] = $value; | 
                                                        |
| 124 | + }  | 
                                                        |
| 122 | 125 | |
| 123 | 126 | return $new;  | 
                                                        
| 124 | 127 | }  |