Completed
Push — master ( cc7259...37f3ad )
by Marco
02:05
created
example/Database.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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_()
Please login to merge, or discard this patch.