Version 5.1 - All the GraphQL #32
@ -103,7 +103,6 @@ function _iterateToml(TomlBuilder $builder, iterable $data, mixed $parentKey = N
|
|||||||
? "{$parentKey}.{$key}"
|
? "{$parentKey}.{$key}"
|
||||||
: $key;
|
: $key;
|
||||||
|
|
||||||
|
|
||||||
$builder->addTable($newKey);
|
$builder->addTable($newKey);
|
||||||
|
|
||||||
_iterateToml($builder, $value, $newKey);
|
_iterateToml($builder, $value, $newKey);
|
||||||
|
@ -210,7 +210,7 @@ final class DispatcherTest extends AnimeClientTestCase
|
|||||||
$this->urlGenerator->defaultUrl('foo');
|
$this->urlGenerator->defaultUrl('foo');
|
||||||
}
|
}
|
||||||
|
|
||||||
#[ArrayShape(['controller_list_sanity_check' => "array", 'empty_controller_list' => "array"])]
|
#[ArrayShape(['controller_list_sanity_check' => 'array', 'empty_controller_list' => 'array'])]
|
||||||
public function dataGetControllerList(): array
|
public function dataGetControllerList(): array
|
||||||
{
|
{
|
||||||
$expectedList = [
|
$expectedList = [
|
||||||
|
@ -24,7 +24,7 @@ use JetBrains\PhpStorm\ArrayShape;
|
|||||||
*/
|
*/
|
||||||
final class RoutingBaseTest extends AnimeClientTestCase
|
final class RoutingBaseTest extends AnimeClientTestCase
|
||||||
{
|
{
|
||||||
#[ArrayShape(['empty_segment' => "array", 'three_segments' => "array"])]
|
#[ArrayShape(['empty_segment' => 'array', 'three_segments' => 'array'])]
|
||||||
public function dataSegments()
|
public function dataSegments()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
Loading…
Reference in New Issue
Block a user