Skip to content

Commit

Permalink
Make the return type of Pimcore\Tool::getHttpData() more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen authored and dvesh3 committed Nov 3, 2023
1 parent c6fd5ac commit 512cc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Tool.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public static function getMail(array|string $recipients = null, string $subject
return $mail;
}

public static function getHttpData(string $url, array $paramsGet = [], array $paramsPost = [], array $options = []): bool|string
public static function getHttpData(string $url, array $paramsGet = [], array $paramsPost = [], array $options = []): false|string
{
$client = \Pimcore::getContainer()->get('pimcore.http_client');
$requestType = 'GET';
Expand Down

0 comments on commit 512cc91

Please sign in to comment.