@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Marcosh\EffectorExample; |
6 | 6 | |
@@ -15,12 +15,12 @@ discard block |
||
15 | 15 | $connection->exec('CREATE TABLE `table` (id INTEGER PRIMARY Key);'); |
16 | 16 | |
17 | 17 | $app = Compose::pieces( |
18 | - function (): string {return 'INSERT INTO `table` (id) VALUES (:id);';}, |
|
18 | + function(): string {return 'INSERT INTO `table` (id) VALUES (:id);'; }, |
|
19 | 19 | new Prepare($connection), |
20 | - function (\PDOStatement $statement) { |
|
20 | + function(\PDOStatement $statement) { |
|
21 | 21 | return (new Execute($statement))(['id' => 0]); |
22 | 22 | }, |
23 | - function (bool $result): string { |
|
23 | + function(bool $result): string { |
|
24 | 24 | return (string) $result . PHP_EOL; |
25 | 25 | }, |
26 | 26 | new Echo_() |