Skip to content

Commit 82cc8cb

Browse files
committed
Update constructor type hints to allow null values for options and client
1 parent 3a9ebba commit 82cc8cb

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_patchtester/src/GitHub

1 file changed

+1
-1
lines changed

administrator/components/com_patchtester/src/GitHub/GitHub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class GitHub
4646
*
4747
* @since 3.0.0
4848
*/
49-
public function __construct(Registry|null $options = null, Http|null $client = null)
49+
public function __construct(?Registry $options = null, ?Http $client = null)
5050
{
5151
$this->options = $options ?: new Registry();
5252
$this->client = $client ?: HttpFactory::getHttp($options);

0 commit comments

Comments
 (0)