Passed
Push — master ( ade720...d7d8c9 )
by Radu
22:34 queued 20:25
created
src/WebServCo/Api/JsonApi/AbstractResourceObject.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    * @return array<string,int|string>|string
48
-    */
47
+     * @return array<string,int|string>|string
48
+     */
49 49
     public function getAttribute(string $key)
50 50
     {
51 51
         if (!\array_key_exists($key, $this->attributes)) {
@@ -60,8 +60,8 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-    * @return int|string|null
64
-    */
63
+     * @return int|string|null
64
+     */
65 65
     public function getMeta(string $key)
66 66
     {
67 67
         if (!\array_key_exists($key, $this->meta)) {
@@ -71,8 +71,8 @@  discard block
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-    * @param mixed $value
75
-    */
74
+     * @param mixed $value
75
+     */
76 76
     public function setAttribute(string $key, $value): bool
77 77
     {
78 78
         $this->attributes[$key] = $value;
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-    * @param int|string|null $value
96
-    */
95
+     * @param int|string|null $value
96
+     */
97 97
     public function setMeta(string $key, $value): bool
98 98
     {
99 99
         $this->meta[$key] = $value;
@@ -101,8 +101,8 @@  discard block
 block discarded – undo
101 101
     }
102 102
 
103 103
     /**
104
-    * @return array<string,mixed>
105
-    */
104
+     * @return array<string,mixed>
105
+     */
106 106
     public function toArray(): array
107 107
     {
108 108
         $array = [
Please login to merge, or discard this patch.