|
@@ 64-68 (lines=5) @@
|
| 61 |
|
public function addShape($field, $type, array $coordinates, $relation = self::INTERSECTS, array $parameters = []) |
| 62 |
|
{ |
| 63 |
|
// TODO: remove this in the next major version |
| 64 |
|
if (is_array($relation)) { |
| 65 |
|
$parameters = $relation; |
| 66 |
|
$relation = self::INTERSECTS; |
| 67 |
|
trigger_error('$parameters as parameter 4 in addShape is deprecated', E_USER_DEPRECATED); |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
$filter = array_merge( |
| 71 |
|
$parameters, |
|
@@ 105-109 (lines=5) @@
|
| 102 |
|
array $parameters = [] |
| 103 |
|
) { |
| 104 |
|
// TODO: remove this in the next major version |
| 105 |
|
if (is_array($relation)) { |
| 106 |
|
$parameters = $relation; |
| 107 |
|
$relation = self::INTERSECTS; |
| 108 |
|
trigger_error('$parameters as parameter 6 in addShape is deprecated', E_USER_DEPRECATED); |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
$filter = array_merge( |
| 112 |
|
$parameters, |