Passed
Pull Request — master (#16)
by Flávio
14:04
created
src/Asn1/TaggableElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Asn1/TaggableElementTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Asn1/Der/Encoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.