Completed
Push — master ( ffa509...0eba32 )
by Dominik
03:36
created
src/Node/ArrayNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder\Node;
6 6
 
Please login to merge, or discard this patch.
src/QueryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder;
6 6
 
Please login to merge, or discard this patch.
src/Node/AbstractNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder\Node;
6 6
 
Please login to merge, or discard this patch.
src/Node/AbstractParentNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder\Node;
6 6
 
Please login to merge, or discard this patch.
src/Node/ObjectNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder\Node;
6 6
 
Please login to merge, or discard this patch.
src/Node/NodeChildRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder\Node;
6 6
 
Please login to merge, or discard this patch.
src/Node/ScalarNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder\Node;
6 6
 
Please login to merge, or discard this patch.
src/QueryBuilderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Saxulum\ElasticSearchQueryBuilder;
6 6
 
Please login to merge, or discard this patch.
src/NodeGenerator.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 Saxulum\ElasticSearchQueryBuilder;
6 6
 
@@ -82,14 +82,14 @@  discard block
 block discarded – undo
82 82
             }
83 83
             $prefix = str_pad('', $position * 4);
84 84
             if ($braceCount > 2) {
85
-                $structuredLines[] = $prefix . substr($line, 0, - ($braceCount - 2));
85
+                $structuredLines[] = $prefix.substr($line, 0, - ($braceCount - 2));
86 86
             } else {
87
-                $structuredLines[] = $prefix . $line;
87
+                $structuredLines[] = $prefix.$line;
88 88
             }
89 89
 
90 90
             while ($braceCount-- > 2) {
91 91
                 $position--;
92
-                $structuredLines[] = str_pad('', $position * 4) . ')';
92
+                $structuredLines[] = str_pad('', $position * 4).')';
93 93
             }
94 94
         }
95 95
 
Please login to merge, or discard this patch.