From 3b1c6ad6582c5cb5bfb24d29a2990c34a2435fd1 Mon Sep 17 00:00:00 2001 From: Holger Date: Fri, 28 Jun 2024 15:29:29 +0200 Subject: [PATCH] Apply fixes from StyleCI (#510) --- tests/SourceRepositoryTypes/GithubRepositoryTypeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SourceRepositoryTypes/GithubRepositoryTypeTest.php b/tests/SourceRepositoryTypes/GithubRepositoryTypeTest.php index feca57f..66c4f5d 100644 --- a/tests/SourceRepositoryTypes/GithubRepositoryTypeTest.php +++ b/tests/SourceRepositoryTypes/GithubRepositoryTypeTest.php @@ -230,7 +230,7 @@ public function it_can_fetch_github_tag_asset_latest_release(): void config(['self-update.repository_types.github.package_file_name' => 'release.zip']); /** @var GithubTagType $github */ - $github = (resolve(GithubRepositoryType::class))->create(); + $github = resolve(GithubRepositoryType::class)->create(); Http::fakeSequence() ->pushResponse($this->getResponse200Type('tag_asset')) @@ -248,7 +248,7 @@ public function it_can_fetch_github_tag_regex_asset_latest_release(): void config(['self-update.repository_types.github.package_file_name' => 'regex:releaseV\d+\.\d+\.\d+\.zip']); /** @var GithubTagType $github */ - $github = (resolve(GithubRepositoryType::class))->create(); + $github = resolve(GithubRepositoryType::class)->create(); Http::fakeSequence() ->pushResponse($this->getResponse200Type('tag_regex_asset'))