File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class CommitFetcher {
9
9
private ?string $ apiKey ;
10
10
private CurlFetcher $ curlFetcher ;
11
11
12
- public function __construct (string $ apiKey = null ) {
12
+ public function __construct (? string $ apiKey = null ) {
13
13
$ this ->apiKey = $ apiKey ;
14
14
$ this ->curlFetcher = new CurlFetcher ();
15
15
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class NewsFetcher {
21
21
22
22
private array $ staticReplacements = [];
23
23
24
- public function __construct (string $ apiKey = null ) {
24
+ public function __construct (? string $ apiKey = null ) {
25
25
$ this ->apiKey = $ apiKey ;
26
26
$ this ->curlFetcher = new CurlFetcher ();
27
27
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class TagListFetcher {
13
13
private ?string $ apiKey ;
14
14
private CurlFetcher $ curlFetcher ;
15
15
16
- public function __construct (string $ apiKey = null ) {
16
+ public function __construct (? string $ apiKey = null ) {
17
17
$ this ->apiKey = $ apiKey ;
18
18
$ this ->curlFetcher = new CurlFetcher ();
19
19
}
You can’t perform that action at this time.
0 commit comments