Passed
Pull Request — master (#13)
by Mathew
15:42
created
src/Ocsp.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Response.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -86,12 +86,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.