ソースを参照

fix: currency service error

3.x
wallo 1年前
コミット
9f2adea336
1個のファイルの変更3行の追加3行の削除
  1. 3
    3
      app/Services/CurrencyService.php

+ 3
- 3
app/Services/CurrencyService.php ファイルの表示

@@ -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;

読み込み中…
キャンセル
保存