@@ -28,7 +28,7 @@ |
||
| 28 | 28 | parent::__construct($name, $field, $shardSize); |
| 29 | 29 | |
| 30 | 30 | trigger_error( |
| 31 | - 'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.' . |
|
| 31 | + 'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.'. |
|
| 32 | 32 | ' It will be removed in 3.0', |
| 33 | 33 | E_USER_DEPRECATED |
| 34 | 34 | ); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | parent::__construct($name, $field, $ranges, $keyed); |
| 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 | ); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | parent::__construct($name, $field, $wrapLongitude); |
| 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 | ); |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | parent::__construct($name, $size, $from, $sort); |
| 29 | 29 | |
| 30 | 30 | trigger_error( |
| 31 | - 'This aggregation is moved to `Metric` namespace. Use the new namespace instead.' . |
|
| 31 | + 'This aggregation is moved to `Metric` namespace. Use the new namespace instead.'. |
|
| 32 | 32 | ' It will be removed in 3.0', |
| 33 | 33 | E_USER_DEPRECATED |
| 34 | 34 | ); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | parent::__construct($name, $field); |
| 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 | ); |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | parent::__construct($name, $filter); |
| 28 | 28 | |
| 29 | 29 | trigger_error( |
| 30 | - 'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.' . |
|
| 30 | + 'This aggregation is moved to `Bucketing` namespace. Use the new namespace instead.'. |
|
| 31 | 31 | ' It will be removed in 3.0', |
| 32 | 32 | E_USER_DEPRECATED |
| 33 | 33 | ); |
@@ -26,7 +26,7 @@ |
||
| 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 | ); |
@@ -131,7 +131,7 @@ |
||
| 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 | ); |
@@ -131,7 +131,7 @@ |
||
| 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 | ); |