Selaa lähdekoodia

fix: currency service error

3.x
wallo 1 vuosi sitten
vanhempi
commit
9f2adea336
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3
    3
      app/Services/CurrencyService.php

+ 3
- 3
app/Services/CurrencyService.php Näytä tiedosto

@@ -10,13 +10,13 @@ use Illuminate\Support\Facades\Log;
10 10
 
11 11
 class CurrencyService implements CurrencyHandler
12 12
 {
13
-    protected string $api_key;
13
+    protected string|null $api_key;
14 14
 
15
-    protected string $base_url;
15
+    protected string|null $base_url;
16 16
 
17 17
     protected Client $client;
18 18
 
19
-    public function __construct(string $api_key, string $base_url, Client $client)
19
+    public function __construct(string|null $api_key, string|null $base_url, Client $client)
20 20
     {
21 21
         $this->api_key = $api_key;
22 22
         $this->base_url = $base_url;

Loading…
Peruuta
Tallenna