@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | return (bool) (!$mariadb && version_compare(self::getOracleMysqlVersionNumber($version), '5.7.7', '<')) |
| 43 | - ; |
|
| 43 | + ; |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | public static function getServerVersion(Connection $connection): ?string |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | // @see https://mariadb.com/kb/en/json-data-type/ |
| 69 | 69 | |
| 70 | 70 | // Assume JSON is supported |
| 71 | - ; |
|
| 71 | + ; |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | |
| 18 | 18 | private ?string $transaction_hash = null; |
| 19 | 19 | |
| 20 | - private array $inserted = []; // [$source, $changeset] |
|
| 21 | - private array $updated = []; // [$source, $changeset] |
|
| 22 | - private array $removed = []; // [$source, $id] |
|
| 23 | - private array $associated = []; // [$source, $target, $mapping] |
|
| 24 | - private array $dissociated = []; // [$source, $target, $id, $mapping] |
|
| 20 | + private array $inserted = []; // [$source, $changeset] |
|
| 21 | + private array $updated = []; // [$source, $changeset] |
|
| 22 | + private array $removed = []; // [$source, $id] |
|
| 23 | + private array $associated = []; // [$source, $target, $mapping] |
|
| 24 | + private array $dissociated = []; // [$source, $target, $id, $mapping] |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * Returns transaction hash. |
@@ -159,7 +159,7 @@ |
||
| 159 | 159 | */ |
| 160 | 160 | public function getDiffs(bool $includeMedadata = false): ?array |
| 161 | 161 | { |
| 162 | - $diffs = $this->sort(json_decode($this->diffs, true, 512, JSON_THROW_ON_ERROR)); // @phpstan-ignore-line |
|
| 162 | + $diffs = $this->sort(json_decode($this->diffs, true, 512, JSON_THROW_ON_ERROR)); // @phpstan-ignore-line |
|
| 163 | 163 | if (!$includeMedadata) { |
| 164 | 164 | unset($diffs['@source']); |
| 165 | 165 | } |