Passed
Push — html-function ( 6d0a33...ff685a )
by Arnaud
13:48 queued 10:18
created
src/Renderer/Extension/Core.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
      *
303 303
      * @return Asset
304 304
      */
305
-    public function asset($path, array|null $options = null): Asset
305
+    public function asset($path, array | null $options = null): Asset
306 306
     {
307 307
         if (!\is_string($path) && !\is_array($path)) {
308 308
             throw new RuntimeException(\sprintf('Argument of "%s()" must a string or an array.', \Cecil\Util::formatMethodName(__METHOD__)));
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
      *
534 534
      * @throws RuntimeException
535 535
      */
536
-    public function html(array $context, Asset|array $assets, array $attributes = [], array $options = []): string
536
+    public function html(array $context, Asset | array $assets, array $attributes = [], array $options = []): string
537 537
     {
538 538
         $htmlAttributes = '';
539 539
         $preload = false;
@@ -1030,7 +1030,7 @@  discard block
 block discarded – undo
1030 1030
     /**
1031 1031
      * Hashing an object, an array or a string (with algo, md5 by default).
1032 1032
      */
1033
-    public function hash(object|array|string $data, $algo = 'md5'): string
1033
+    public function hash(object | array | string $data, $algo = 'md5'): string
1034 1034
     {
1035 1035
         switch (\gettype($data)) {
1036 1036
             case 'object':
Please login to merge, or discard this patch.