|
@@ -9,7 +9,7 @@ discard block |
|
|
block discarded – undo |
|
9
|
9
|
* file that was distributed with this source code. |
|
10
|
10
|
*/ |
|
11
|
11
|
|
|
12
|
|
-declare(strict_types=1); |
|
|
12
|
+declare(strict_types = 1); |
|
13
|
13
|
|
|
14
|
14
|
namespace LIN3S\SharedKernel\Infrastructure\Persistence\Sql\Event; |
|
15
|
15
|
|
|
@@ -43,7 +43,7 @@ discard block |
|
|
block discarded – undo |
|
43
|
43
|
return; |
|
44
|
44
|
} |
|
45
|
45
|
|
|
46
|
|
- $this->pdo->insert(self::TABLE_NAME, self::COLUMN_NAMES, $numberOfEvents, function () use ($events) { |
|
|
46
|
+ $this->pdo->insert(self::TABLE_NAME, self::COLUMN_NAMES, $numberOfEvents, function() use ($events) { |
|
47
|
47
|
$data = []; |
|
48
|
48
|
foreach ($events as $event) { |
|
49
|
49
|
$data = array_merge($data, $event->toArray()); |
Please login to merge, or discard this patch.