Completed
Pull Request — master (#148)
by Simonas
02:51
created
src/Aggregation/AvgAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         parent::__construct($name, $field, $script);
27 27
 
28 28
         trigger_error(
29
-            'This aggregation is moved to `Metric` namespace. Use the new namespace instead.' .
29
+            'This aggregation is moved to `Metric` namespace. Use the new namespace instead.'.
30 30
             ' It will be removed in 3.0',
31 31
             E_USER_DEPRECATED
32 32
         );
Please login to merge, or discard this patch.
src/Aggregation/Metric/ExtendedStatsAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/Metric/PercentileRanksAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/Metric/PercentilesAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/Metric/TopHitsAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/Metric/CardinalityAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/MaxAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         parent::__construct($name, $field, $script);
27 27
 
28 28
         trigger_error(
29
-            'This aggregation is moved to `Metric` namespace. Use the new namespace instead.' .
29
+            'This aggregation is moved to `Metric` namespace. Use the new namespace instead.'.
30 30
             ' It will be removed in 3.0',
31 31
             E_USER_DEPRECATED
32 32
         );
Please login to merge, or discard this patch.
src/Aggregation/ChildrenAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         parent::__construct($name, $children);
27 27
 
28 28
         trigger_error(
29
-            'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.' .
29
+            'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.'.
30 30
             ' It will be removed in 3.0',
31 31
             E_USER_DEPRECATED
32 32
         );
Please login to merge, or discard this patch.
src/Aggregation/NestedAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         parent::__construct($name, $path);
27 27
 
28 28
         trigger_error(
29
-            'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.' .
29
+            'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.'.
30 30
             ' It will be removed in 3.0',
31 31
             E_USER_DEPRECATED
32 32
         );
Please login to merge, or discard this patch.