Test Failed
Branch master (876e9e)
by Enjoys
13:05
created
src/AssetType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 
10 10
 
11 11
 
12
-    public static function tryToAssetType(AssetType|string $value): ?AssetType
12
+    public static function tryToAssetType(AssetType | string $value): ?AssetType
13 13
     {
14
-        if ($value instanceof AssetType){
14
+        if ($value instanceof AssetType) {
15 15
             return $value;
16 16
         }
17 17
 
Please login to merge, or discard this patch.
src/RenderFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
          * @param Asset[] $assets
28 28
          * @return string
29 29
          */
30
-        return function (array $assets): string {
30
+        return function(array $assets): string {
31 31
             $result = '';
32 32
             foreach ($assets as $asset) {
33 33
                 $attributes = $asset->getAttributeCollection()
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
          * @param Asset[] $assets
56 56
          * @return string
57 57
          */
58
-        return function (array $assets): string {
58
+        return function(array $assets): string {
59 59
             $result = '';
60 60
             foreach ($assets as $asset) {
61 61
                 $result .= sprintf(
Please login to merge, or discard this patch.
src/AttributeCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                 $key = $value;
24 24
                 $value = null;
25 25
             }
26
-            if ($key === ''){
26
+            if ($key === '') {
27 27
                 continue;
28 28
             }
29 29
             /** @psalm-suppress MixedPropertyTypeCoercion */
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         return $this->attributes === [];
37 37
     }
38 38
 
39
-    public function set(string $key, string|null|false $value, bool $replace = false): AttributeCollection
39
+    public function set(string $key, string | null | false $value, bool $replace = false): AttributeCollection
40 40
     {
41 41
         if ($replace === false && array_key_exists($key, $this->attributes)) {
42 42
             return $this;
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         return $this;
47 47
     }
48 48
 
49
-    public function get(string $key): string|null|false
49
+    public function get(string $key): string | null | false
50 50
     {
51 51
         if (array_key_exists($key, $this->attributes)) {
52 52
             return $this->attributes[$key];
Please login to merge, or discard this patch.