@@ -40,7 +40,6 @@  | 
                                                    ||
| 40 | 40 | * @param string $certificateSerialNumber  | 
                                                        
| 41 | 41 | * @param string $issuerNameDer  | 
                                                        
| 42 | 42 | * @param string $issuerPublicKeyBytes  | 
                                                        
| 43 | -  | 
                                                        |
| 44 | 43 | *  | 
                                                        
| 45 | 44 | * @throws \Ocsp\Exception\RequestException when there's some invalid value  | 
                                                        
| 46 | 45 | *  | 
                                                        
@@ -285,7 +285,7 @@  | 
                                                    ||
| 285 | 285 | |
| 286 | 286 | $certificateSerialNumber = (string) $certID->getFirstChildOfType(UniversalTagID::INTEGER, Element::CLASS_UNIVERSAL)->getValue();  | 
                                                        
| 287 | 287 | $thisUpdate = $singleResponse->getFirstChildOfType(UniversalTagID::GENERALIZEDTIME, Element::CLASS_UNIVERSAL)?->getValue();  | 
                                                        
| 288 | -		$nextUpdate = $singleResponse->getFirstChildOfType('0', Element::CLASS_CONTEXTSPECIFIC, Tag::ENVIRONMENT_EXPLICIT)?->getValue(); | 
                                                        |
| 288 | +        $nextUpdate = $singleResponse->getFirstChildOfType('0', Element::CLASS_CONTEXTSPECIFIC, Tag::ENVIRONMENT_EXPLICIT)?->getValue(); | 
                                                        |
| 289 | 289 | |
| 290 | 290 | $certStatus = isset($elements[1]) ? $elements[1] : null;  | 
                                                        
| 291 | 291 |          if ($certStatus === null) { | 
                                                        
@@ -86,12 +86,12 @@ discard block  | 
                                                    ||
| 86 | 86 | */  | 
                                                        
| 87 | 87 | private $thisUpdate;  | 
                                                        
| 88 | 88 | |
| 89 | - /**  | 
                                                        |
| 90 | - * The most recent time at which the status being indicated is known by the responder to have been correct.  | 
                                                        |
| 91 | - *  | 
                                                        |
| 92 | - * @var \DateTimeImmutable|null  | 
                                                        |
| 93 | - */  | 
                                                        |
| 94 | - private $nextUpdate;  | 
                                                        |
| 89 | + /**  | 
                                                        |
| 90 | + * The most recent time at which the status being indicated is known by the responder to have been correct.  | 
                                                        |
| 91 | + *  | 
                                                        |
| 92 | + * @var \DateTimeImmutable|null  | 
                                                        |
| 93 | + */  | 
                                                        |
| 94 | + private $nextUpdate;  | 
                                                        |
| 95 | 95 | |
| 96 | 96 | /**  | 
                                                        
| 97 | 97 | * The serial number of the certificate.  | 
                                                        
@@ -128,7 +128,7 @@ discard block  | 
                                                    ||
| 128 | 128 | protected function __construct(DateTimeImmutable $thisUpdate, ?DateTimeImmutable $nextUpdate, $certificateSerialNumber)  | 
                                                        
| 129 | 129 |      { | 
                                                        
| 130 | 130 | $this->thisUpdate = $thisUpdate;  | 
                                                        
| 131 | - $this->nextUpdate = $nextUpdate;  | 
                                                        |
| 131 | + $this->nextUpdate = $nextUpdate;  | 
                                                        |
| 132 | 132 | $this->certificateSerialNumber = $certificateSerialNumber;  | 
                                                        
| 133 | 133 | }  | 
                                                        
| 134 | 134 | |
@@ -232,14 +232,14 @@ discard block  | 
                                                    ||
| 232 | 232 | return $this->revocationReason;  | 
                                                        
| 233 | 233 | }  | 
                                                        
| 234 | 234 | |
| 235 | - /**  | 
                                                        |
| 236 | - * The most recent time at which the status being indicated is known by the responder to have been correct.  | 
                                                        |
| 237 | - *  | 
                                                        |
| 238 | - * @var \DateTimeImmutable|null  | 
                                                        |
| 239 | - */  | 
                                                        |
| 240 | - public function getNextUpdate()  | 
                                                        |
| 241 | -	{ | 
                                                        |
| 242 | - return $this->nextUpdate;  | 
                                                        |
| 243 | - }  | 
                                                        |
| 235 | + /**  | 
                                                        |
| 236 | + * The most recent time at which the status being indicated is known by the responder to have been correct.  | 
                                                        |
| 237 | + *  | 
                                                        |
| 238 | + * @var \DateTimeImmutable|null  | 
                                                        |
| 239 | + */  | 
                                                        |
| 240 | + public function getNextUpdate()  | 
                                                        |
| 241 | +    { | 
                                                        |
| 242 | + return $this->nextUpdate;  | 
                                                        |
| 243 | + }  | 
                                                        |
| 244 | 244 | |
| 245 | 245 | }  | 
                                                        
@@ -128,7 +128,7 @@  | 
                                                    ||
| 128 | 128 | protected function __construct(DateTimeImmutable $thisUpdate, ?DateTimeImmutable $nextUpdate, $certificateSerialNumber)  | 
                                                        
| 129 | 129 |      { | 
                                                        
| 130 | 130 | $this->thisUpdate = $thisUpdate;  | 
                                                        
| 131 | - $this->nextUpdate = $nextUpdate;  | 
                                                        |
| 131 | + $this->nextUpdate = $nextUpdate;  | 
                                                        |
| 132 | 132 | $this->certificateSerialNumber = $certificateSerialNumber;  | 
                                                        
| 133 | 133 | }  | 
                                                        
| 134 | 134 | |