Lint
This commit is contained in:
parent
61cc08dda0
commit
94094aebcd
|
@ -9,6 +9,9 @@ use Zoomyboy\LaravelNami\Tests\TestCase;
|
||||||
|
|
||||||
class SearchTest extends TestCase
|
class SearchTest extends TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var array<int, array<string, string|int|null>>
|
||||||
|
*/
|
||||||
public array $attributes = [
|
public array $attributes = [
|
||||||
[
|
[
|
||||||
'firstname' => 'Max',
|
'firstname' => 'Max',
|
||||||
|
@ -27,6 +30,9 @@ class SearchTest extends TestCase
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array<string, array{0: string, 1: array<int, string>}>
|
||||||
|
*/
|
||||||
public function dataProvider(): array
|
public function dataProvider(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@ -59,6 +65,9 @@ class SearchTest extends TestCase
|
||||||
$this->login()->search([])->first();
|
$this->login()->search([])->first();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array<string, string|int|null> $payload
|
||||||
|
*/
|
||||||
private function url(array $payload): string
|
private function url(array $payload): string
|
||||||
{
|
{
|
||||||
$payload = rawurlencode(json_encode($payload));
|
$payload = rawurlencode(json_encode($payload));
|
||||||
|
|
Loading…
Reference in New Issue