Fixed some stuff from PR #13208 feedback:

- HTTPException is already imported
- same-value-assignment not needed
This commit is contained in:
Roland Häder
2023-06-09 22:19:48 +02:00
parent 993d45d2f5
commit 818a7fb451
2 changed files with 8 additions and 12 deletions
-2
View File
@@ -341,12 +341,10 @@ class Probe
* @param string $uri Address that should be probed
* @param string $network Test for this specific network
* @param integer $uid User ID for the probe (only used for mails)
* @param boolean $cache Use cached values?
*
* @return array uri data
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
* @todo Choice: implement $cache parameter or remove documentation
*/
public static function uri(string $uri, string $network = '', int $uid = -1): array
{