Skip to content

Commit d1b63c3

Browse files
committed
Fixed default values
1 parent 29c397b commit d1b63c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Matchers/SequenceMatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class SequenceMatch extends BaseMatch
2323
/**
2424
* @param array{'sequenceName'?: string, 'sequenceSpace'?: int, 'ascending'?: bool} $params
2525
*/
26-
public function __construct(string $password, int $begin, int $end, string $token, array $params = ['sequenceName' => '', 'sequenceSpace' => 0, 'ascending' => false])
26+
public function __construct(string $password, int $begin, int $end, string $token, array $params = [])
2727
{
2828
parent::__construct($password, $begin, $end, $token);
2929

src/Matchers/SpatialMatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SpatialMatch extends BaseMatch
3535
/**
3636
* @param array{'graph'?: string, 'shifted_count'?: int, 'turns'?: int} $params
3737
*/
38-
public function __construct(string $password, int $begin, int $end, string $token, array $params = ['graph' => 'qwerty', 'shifted_count' => 0, 'turns' => 0])
38+
public function __construct(string $password, int $begin, int $end, string $token, array $params = [])
3939
{
4040
parent::__construct($password, $begin, $end, $token);
4141
$this->graph = $params['graph'] ?? 'qwerty';

0 commit comments

Comments
 (0)