Passed
Push — master ( 133180...6e23f4 )
by Arnaud
06:22
created
src/Renderer/Extension/Core.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      *
283 283
      * @return Asset
284 284
      */
285
-    public function asset($path, array|null $options = null): Asset
285
+    public function asset($path, array | null $options = null): Asset
286 286
     {
287 287
         if (!\is_string($path) && !\is_array($path)) {
288 288
             throw new RuntimeException(\sprintf('Argument of "%s()" must a string or an array.', \Cecil\Util::formatMethodName(__METHOD__)));
@@ -933,7 +933,7 @@  discard block
 block discarded – undo
933 933
     /**
934 934
      * Hashing an object, an array or a string (with algo, md5 by default).
935 935
      */
936
-    public function hash(object|array|string $data, $algo = 'md5'): string
936
+    public function hash(object | array | string $data, $algo = 'md5'): string
937 937
     {
938 938
         switch (\gettype($data)) {
939 939
             case 'object':
Please login to merge, or discard this patch.