@@ -21,5 +21,5 @@ |
||
21 | 21 | * |
22 | 22 | * @return $this |
23 | 23 | */ |
24 | - public function setTag(Tag|null $value = null); |
|
24 | + public function setTag(Tag | null $value = null); |
|
25 | 25 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * |
30 | 30 | * @see \Ocsp\Asn1\TaggableElement::setTag() |
31 | 31 | */ |
32 | - public function setTag(Tag|null $value = null) |
|
32 | + public function setTag(Tag | null $value = null) |
|
33 | 33 | { |
34 | 34 | $this->tag = $value; |
35 | 35 |
@@ -154,7 +154,7 @@ |
||
154 | 154 | * |
155 | 155 | * @return string |
156 | 156 | */ |
157 | - protected function doEncodeElement(Element $element, Tag|null $implicitTag = null) |
|
157 | + protected function doEncodeElement(Element $element, Tag | null $implicitTag = null) |
|
158 | 158 | { |
159 | 159 | if ($implicitTag === null) { |
160 | 160 | $result = $this->encodeType($element->getTypeID(), $element->getClass(), $element->isConstructed()); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param string $certificateSerialNumber |
127 | 127 | * @param \DateTimeImmutable|null $nextUpdate |
128 | 128 | */ |
129 | - protected function __construct(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable|null $nextUpdate = null) |
|
129 | + protected function __construct(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable | null $nextUpdate = null) |
|
130 | 130 | { |
131 | 131 | $this->thisUpdate = $thisUpdate; |
132 | 132 | $this->certificateSerialNumber = $certificateSerialNumber; |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * |
143 | 143 | * @return static |
144 | 144 | */ |
145 | - public static function good(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable|null $nextUpdate = null) |
|
145 | + public static function good(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable | null $nextUpdate = null) |
|
146 | 146 | { |
147 | 147 | $result = new static($thisUpdate, $certificateSerialNumber, $nextUpdate); |
148 | 148 | $result->revoked = false; |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * |
161 | 161 | * @return static |
162 | 162 | */ |
163 | - public static function revoked(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable $revokedOn, $revocationReason = self::REVOCATIONREASON_UNSPECIFIED, DateTimeImmutable|null $nextUpdate = null) |
|
163 | + public static function revoked(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable $revokedOn, $revocationReason = self::REVOCATIONREASON_UNSPECIFIED, DateTimeImmutable | null $nextUpdate = null) |
|
164 | 164 | { |
165 | 165 | $result = new static($thisUpdate, $certificateSerialNumber, $nextUpdate); |
166 | 166 | $result->revoked = true; |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * |
179 | 179 | * @return static |
180 | 180 | */ |
181 | - public static function unknown(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable|null $nextUpdate = null) |
|
181 | + public static function unknown(DateTimeImmutable $thisUpdate, $certificateSerialNumber, DateTimeImmutable | null $nextUpdate = null) |
|
182 | 182 | { |
183 | 183 | $result = new static($thisUpdate, $certificateSerialNumber, $nextUpdate); |
184 | 184 |