@@ -39,7 +39,7 @@ |
||
39 | 39 | { |
40 | 40 | return $handler($request, $options)->then(function(ResponseInterface $response) use ($request) { |
41 | 41 | $code = (int)floor((int)$response->getStatusCode() / 100); |
42 | - if($code === 2) { |
|
42 | + if ($code === 2) { |
|
43 | 43 | $this->adapter->save($request, $response); |
44 | 44 | } |
45 | 45 |
@@ -108,7 +108,7 @@ |
||
108 | 108 | // @formatter:on |
109 | 109 | |
110 | 110 | $sum = 0; |
111 | - foreach($calculations as $key => $calculation){ |
|
111 | + foreach ($calculations as $key => $calculation) { |
|
112 | 112 | $sum += ($personCode[$key] * $calculation); |
113 | 113 | } |
114 | 114 |
@@ -108,7 +108,7 @@ |
||
108 | 108 | // @formatter:on |
109 | 109 | |
110 | 110 | $sum = 0; |
111 | - foreach($calculations as $key => $calculation){ |
|
111 | + foreach($calculations as $key => $calculation) { |
|
112 | 112 | $sum += ($personCode[$key] * $calculation); |
113 | 113 | } |
114 | 114 |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | self::getTable($object, $tableName, $columns, $type, $manager, $extraFields); |
135 | 135 | |
136 | 136 | $result = self::get(['table_name' => $tableName], true, ['id' => $id], ['*']); |
137 | - if($result !== null) { |
|
137 | + if ($result !== null) { |
|
138 | 138 | unset($result['id']); |
139 | 139 | } else { |
140 | 140 | $result = []; |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | $data = []; |
143 | 143 | |
144 | 144 | $flip = array_flip($columns); |
145 | - if(!empty($result)) { |
|
145 | + if (!empty($result)) { |
|
146 | 146 | foreach ($result as $key => $value) { |
147 | 147 | $content = self::value($object, $key, $type, false); |
148 | 148 | if ($content !== $value) { |