Skip to content

Commit 8445cb0

Browse files
committed
Remove typeHint comment
1 parent 87a1084 commit 8445cb0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/Command/RecipesCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ private function findRecipeCommitDataFromTreeRef(string $package, string $repo,
355355

356356
private function requestGitHubApi(string $path)
357357
{
358-
/** @var Response $response */
359358
$response = $this->downloader->get($path);
360359

361360
return json_decode($response->getBody(), true);

src/Downloader.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ private function fetchFile(string $url, string $cacheKey, array $headers): Respo
194194
$retries = 3;
195195
while ($retries--) {
196196
try {
197-
/** @var \Composer\Util\Http\Response $response */
198197
$response = $this->rfs->get($url, $options);
199198

200199
return $this->parseJson($response->getBody(), $url, $cacheKey, $response->getHeaders());
@@ -226,7 +225,6 @@ private function fetchFileIfLastModified(string $url, string $cacheKey, string $
226225
$retries = 3;
227226
while ($retries--) {
228227
try {
229-
/** @var \Composer\Util\Http\Response $response */
230228
$response = $this->rfs->get($url, $options);
231229
if (304 === $response->getStatusCode()) {
232230
return new Response($response->getBody(), $response->getHeaders(), 304);

0 commit comments

Comments
 (0)