Completed
Push — prototype ( 942ea2...3bfdd7 )
by Peter
04:02
created
examples/simple/public/console-table/index.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -32,19 +32,19 @@
 block discarded – undo
32 32
 
33 33
         $data = [
34 34
             [
35
-              'Walter White',
36
-              'Father',
37
-              'Teacher',
35
+                'Walter White',
36
+                'Father',
37
+                'Teacher',
38 38
             ],
39 39
             [
40
-              'Skyler White',
41
-              'Mother',
42
-              'Accountant',
40
+                'Skyler White',
41
+                'Mother',
42
+                'Accountant',
43 43
             ],
44 44
             [
45
-              'Walter White Jr.',
46
-              'Son',
47
-              'Student',
45
+                'Walter White Jr.',
46
+                'Son',
47
+                'Student',
48 48
             ],
49 49
         ];
50 50
 
Please login to merge, or discard this patch.
examples/skeleton-application/dispatch.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -333,10 +333,10 @@
 block discarded – undo
333 333
         // todo configurable locators
334 334
         $table = $doc->locate('table');
335 335
         $table->locate('thead th')
336
-              ->loop(array_keys(current($data)), function (\WebinoDomLib\Dom\NodeList $node, $data) {
337
-                  // TODO emit event
338
-                  $node->setValue($data);
339
-              });
336
+                ->loop(array_keys(current($data)), function (\WebinoDomLib\Dom\NodeList $node, $data) {
337
+                    // TODO emit event
338
+                    $node->setValue($data);
339
+                });
340 340
 
341 341
         $table->locate('tbody tr')
342 342
             ->loop($data, function (\WebinoDomLib\Dom\NodeList $node, $data) {
Please login to merge, or discard this patch.