From 29e70a8e3fe8c9db289e9eaf2c2f3c85d75ac8e6 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 4 Mar 2022 12:25:29 -0500 Subject: [PATCH] More formatting fixes --- src/AnimeClient/AnimeClient.php | 1 - tests/AnimeClient/DispatcherTest.php | 2 +- tests/AnimeClient/RoutingBaseTest.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/AnimeClient/AnimeClient.php b/src/AnimeClient/AnimeClient.php index f1deac78..da475d32 100644 --- a/src/AnimeClient/AnimeClient.php +++ b/src/AnimeClient/AnimeClient.php @@ -103,7 +103,6 @@ function _iterateToml(TomlBuilder $builder, iterable $data, mixed $parentKey = N ? "{$parentKey}.{$key}" : $key; - $builder->addTable($newKey); _iterateToml($builder, $value, $newKey); diff --git a/tests/AnimeClient/DispatcherTest.php b/tests/AnimeClient/DispatcherTest.php index ef39fee4..33101110 100644 --- a/tests/AnimeClient/DispatcherTest.php +++ b/tests/AnimeClient/DispatcherTest.php @@ -210,7 +210,7 @@ final class DispatcherTest extends AnimeClientTestCase $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 { $expectedList = [ diff --git a/tests/AnimeClient/RoutingBaseTest.php b/tests/AnimeClient/RoutingBaseTest.php index 4290a534..248fdeca 100644 --- a/tests/AnimeClient/RoutingBaseTest.php +++ b/tests/AnimeClient/RoutingBaseTest.php @@ -24,7 +24,7 @@ use JetBrains\PhpStorm\ArrayShape; */ final class RoutingBaseTest extends AnimeClientTestCase { - #[ArrayShape(['empty_segment' => "array", 'three_segments' => "array"])] + #[ArrayShape(['empty_segment' => 'array', 'three_segments' => 'array'])] public function dataSegments() { return [