Passed
Push — master ( 9b65e5...9e6bb5 )
by Radu
12:39
created
src/WebServCo/Api/JsonApi/AbstractResourceObject.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-    * @return mixed
47
-    */
46
+     * @return mixed
47
+     */
48 48
     public function getAttribute(string $key)
49 49
     {
50 50
         if (!\array_key_exists($key, $this->attributes)) {
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-    * @return int|string|null
63
-    */
62
+     * @return int|string|null
63
+     */
64 64
     public function getMeta(string $key)
65 65
     {
66 66
         if (!\array_key_exists($key, $this->meta)) {
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-    * @param mixed $value
74
-    */
73
+     * @param mixed $value
74
+     */
75 75
     public function setAttribute(string $key, $value): bool
76 76
     {
77 77
         $this->attributes[$key] = $value;
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-    * @param mixed $value
95
-    */
94
+     * @param mixed $value
95
+     */
96 96
     public function setMeta(string $key, $value): bool
97 97
     {
98 98
         $this->meta[$key] = $value;
@@ -100,8 +100,8 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-    * @return array<string,mixed>
104
-    */
103
+     * @return array<string,mixed>
104
+     */
105 105
     public function toArray(): array
106 106
     {
107 107
         // phpcs:ignore SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys.IncorrectKeyOrder
Please login to merge, or discard this patch.