Completed
Pull Request — master (#23)
by
unknown
05:58
created
src/TableParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
             return false;
53 53
         }
54 54
 
55
-        $table = new Table(function (Cursor $cursor, Table $table) use ($columns): bool {
55
+        $table = new Table(function(Cursor $cursor, Table $table) use ($columns): bool {
56 56
             $row = $this->parseRow($cursor->getLine(), $columns);
57 57
             if (null === $row) {
58 58
                 if (null !== $table->getCaption()) {
Please login to merge, or discard this patch.
src/Table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,6 @@
 block discarded – undo
91 91
      */
92 92
     public function children(): array
93 93
     {
94
-        return array_filter(parent::children(), function (Node $child): bool { return $child instanceof AbstractBlock; });
94
+        return array_filter(parent::children(), function(Node $child): bool { return $child instanceof AbstractBlock; });
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
src/TableRow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,6 @@
 block discarded – undo
91 91
      */
92 92
     public function children(): array
93 93
     {
94
-        return array_filter(parent::children(), function (Node $child): bool { return $child instanceof AbstractBlock; });
94
+        return array_filter(parent::children(), function(Node $child): bool { return $child instanceof AbstractBlock; });
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
src/TableRows.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,6 @@
 block discarded – undo
91 91
      */
92 92
     public function children(): array
93 93
     {
94
-        return array_filter(parent::children(), function (Node $child): bool { return $child instanceof AbstractBlock; });
94
+        return array_filter(parent::children(), function(Node $child): bool { return $child instanceof AbstractBlock; });
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
src/TableCell.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
      */
57 57
     public function children(): array
58 58
     {
59
-        return array_filter(parent::children(), function (Node $child): bool { return $child instanceof AbstractInline; });
59
+        return array_filter(parent::children(), function(Node $child): bool { return $child instanceof AbstractInline; });
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
src/TableCaption.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function children(): array
60 60
     {
61
-        return array_filter(parent::children(), function (Node $child): bool { return $child instanceof AbstractInline; });
61
+        return array_filter(parent::children(), function(Node $child): bool { return $child instanceof AbstractInline; });
62 62
     }
63 63
 
64 64
     public function handleRemainingContents(ContextInterface $context, Cursor $cursor): void
Please login to merge, or discard this patch.