@@ -55,10 +55,10 @@ discard block |
||
55 | 55 | public function __construct( |
56 | 56 | string $method, |
57 | 57 | string $endpoint, |
58 | - ?string $element, |
|
58 | + ? string $element, |
|
59 | 59 | array $acceptableMIMETypes, |
60 | - ?string $version, |
|
61 | - ?string $apiKey, |
|
60 | + ? string $version, |
|
61 | + ? string $apiKey, |
|
62 | 62 | array $queryData, |
63 | 63 | $data |
64 | 64 | ) { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * @return null|string |
93 | 93 | */ |
94 | - public function getElement(): ?string |
|
94 | + public function getElement(): ? string |
|
95 | 95 | { |
96 | 96 | return $this->element; |
97 | 97 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | /** |
108 | 108 | * @return null|string |
109 | 109 | */ |
110 | - public function getVersion(): ?string |
|
110 | + public function getVersion(): ? string |
|
111 | 111 | { |
112 | 112 | return $this->version; |
113 | 113 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | /** |
116 | 116 | * @return null|string |
117 | 117 | */ |
118 | - public function getApiKey(): ?string |
|
118 | + public function getApiKey(): ? string |
|
119 | 119 | { |
120 | 120 | return $this->apiKey; |
121 | 121 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param array $acceptableMIMETypes |
43 | 43 | * @param null|string $queryString |
44 | 44 | */ |
45 | - public function __construct(string $endpoint, ?string $element, ?string $version, ?string $apiKey, array $acceptableMIMETypes, ?string $queryString) |
|
45 | + public function __construct(string $endpoint, ? string $element, ? string $version, ? string $apiKey, array $acceptableMIMETypes, ? string $queryString) |
|
46 | 46 | { |
47 | 47 | $this->endpoint = $endpoint; |
48 | 48 | $this->element = $element; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * @return null|string |
65 | 65 | */ |
66 | - public function getElement(): ?string |
|
66 | + public function getElement(): ? string |
|
67 | 67 | { |
68 | 68 | return $this->element; |
69 | 69 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * @return null|string |
73 | 73 | */ |
74 | - public function getVersion(): ?string |
|
74 | + public function getVersion(): ? string |
|
75 | 75 | { |
76 | 76 | return $this->version; |
77 | 77 | } |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * @return null|string |
81 | 81 | */ |
82 | - public function getApiKey(): ?string |
|
82 | + public function getApiKey(): ? string |
|
83 | 83 | { |
84 | 84 | return $this->apiKey; |
85 | 85 | } |