@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function process(): void |
| 29 | 29 | { |
| 30 | 30 | $db = \App\DB::getInstance('log'); |
| 31 | - if(!$db->isTableExists(\App\Integrations\Comarch::LOG_TABLE_NAME)) { |
|
| 31 | + if (!$db->isTableExists(\App\Integrations\Comarch::LOG_TABLE_NAME)) { |
|
| 32 | 32 | $this->status = 1; |
| 33 | 33 | return; |
| 34 | 34 | } |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | { |
| 106 | 106 | $dbCommand = \App\Db::getInstance('admin')->createCommand(); |
| 107 | 107 | if (null !== $name) { |
| 108 | - $data = ['name' => "{$type}_last_{$name}", 'value' => $id]; |
|
| 108 | + $data = ['name' => "{$type}_last_{$name}", 'value' => $id]; |
|
| 109 | 109 | } else { |
| 110 | 110 | $data = ['name' => $type . '_start_date', 'value' => date('Y-m-d H:i:s')]; |
| 111 | 111 | } |