@@ -116,66 +116,66 @@ |
||
| 116 | 116 | protected static function attributesMetadata(): array |
| 117 | 117 | { |
| 118 | 118 | return array ( |
| 119 | - 'username' => |
|
| 120 | - array ( |
|
| 119 | + 'username' => |
|
| 120 | + array ( |
|
| 121 | 121 | 'type' => |
| 122 | 122 | array ( |
| 123 | - 0 => 'string', |
|
| 124 | - 1 => 'int', |
|
| 125 | - 2 => 'null', |
|
| 123 | + 0 => 'string', |
|
| 124 | + 1 => 'int', |
|
| 125 | + 2 => 'null', |
|
| 126 | 126 | ), |
| 127 | 127 | 'required' => false, |
| 128 | 128 | 'actionName' => 'username', |
| 129 | - ), |
|
| 130 | - 'books' => |
|
| 131 | - array ( |
|
| 129 | + ), |
|
| 130 | + 'books' => |
|
| 131 | + array ( |
|
| 132 | 132 | 'type' => |
| 133 | 133 | array ( |
| 134 | - 0 => 'iterable', |
|
| 135 | - 1 => 'null', |
|
| 134 | + 0 => 'iterable', |
|
| 135 | + 1 => 'null', |
|
| 136 | 136 | ), |
| 137 | 137 | 'required' => false, |
| 138 | 138 | 'actionName' => 'books', |
| 139 | - ), |
|
| 140 | - 'first_name' => |
|
| 141 | - array ( |
|
| 139 | + ), |
|
| 140 | + 'first_name' => |
|
| 141 | + array ( |
|
| 142 | 142 | 'type' => |
| 143 | 143 | array ( |
| 144 | - 0 => 'string', |
|
| 145 | - 1 => 'int', |
|
| 144 | + 0 => 'string', |
|
| 145 | + 1 => 'int', |
|
| 146 | 146 | ), |
| 147 | 147 | 'required' => true, |
| 148 | 148 | 'actionName' => 'firstName', |
| 149 | - ), |
|
| 150 | - 'updatedAt' => |
|
| 151 | - array ( |
|
| 149 | + ), |
|
| 150 | + 'updatedAt' => |
|
| 151 | + array ( |
|
| 152 | 152 | 'type' => |
| 153 | 153 | array ( |
| 154 | - 0 => 'DateTimeInterface', |
|
| 155 | - 1 => 'null', |
|
| 154 | + 0 => 'DateTimeInterface', |
|
| 155 | + 1 => 'null', |
|
| 156 | 156 | ), |
| 157 | 157 | 'required' => false, |
| 158 | 158 | 'actionName' => 'updatedAt', |
| 159 | - ), |
|
| 160 | - 'someclass' => |
|
| 161 | - array ( |
|
| 159 | + ), |
|
| 160 | + 'someclass' => |
|
| 161 | + array ( |
|
| 162 | 162 | 'type' => |
| 163 | 163 | array ( |
| 164 | - 0 => 'Micro\\Library\\DTO\\Object\\AbstractDto', |
|
| 165 | - 1 => 'null', |
|
| 164 | + 0 => 'Micro\\Library\\DTO\\Object\\AbstractDto', |
|
| 165 | + 1 => 'null', |
|
| 166 | 166 | ), |
| 167 | 167 | 'required' => false, |
| 168 | 168 | 'actionName' => 'someclass', |
| 169 | - ), |
|
| 170 | - 'testMixed' => |
|
| 171 | - array ( |
|
| 169 | + ), |
|
| 170 | + 'testMixed' => |
|
| 171 | + array ( |
|
| 172 | 172 | 'type' => |
| 173 | 173 | array ( |
| 174 | - 0 => 'mixed', |
|
| 174 | + 0 => 'mixed', |
|
| 175 | 175 | ), |
| 176 | 176 | 'required' => false, |
| 177 | 177 | 'actionName' => 'testMixed', |
| 178 | - ), |
|
| 178 | + ), |
|
| 179 | 179 | ); |
| 180 | 180 | } |
| 181 | 181 | } |
@@ -59,36 +59,36 @@ |
||
| 59 | 59 | protected static function attributesMetadata(): array |
| 60 | 60 | { |
| 61 | 61 | return array ( |
| 62 | - 'weight' => |
|
| 63 | - array ( |
|
| 62 | + 'weight' => |
|
| 63 | + array ( |
|
| 64 | 64 | 'type' => |
| 65 | 65 | array ( |
| 66 | - 0 => 'int', |
|
| 67 | - 1 => 'null', |
|
| 66 | + 0 => 'int', |
|
| 67 | + 1 => 'null', |
|
| 68 | 68 | ), |
| 69 | 69 | 'required' => false, |
| 70 | 70 | 'actionName' => 'weight', |
| 71 | - ), |
|
| 72 | - 'height' => |
|
| 73 | - array ( |
|
| 71 | + ), |
|
| 72 | + 'height' => |
|
| 73 | + array ( |
|
| 74 | 74 | 'type' => |
| 75 | 75 | array ( |
| 76 | - 0 => 'int', |
|
| 77 | - 1 => 'null', |
|
| 76 | + 0 => 'int', |
|
| 77 | + 1 => 'null', |
|
| 78 | 78 | ), |
| 79 | 79 | 'required' => false, |
| 80 | 80 | 'actionName' => 'height', |
| 81 | - ), |
|
| 82 | - 'parent' => |
|
| 83 | - array ( |
|
| 81 | + ), |
|
| 82 | + 'parent' => |
|
| 83 | + array ( |
|
| 84 | 84 | 'type' => |
| 85 | 85 | array ( |
| 86 | - 0 => 'Transfer\\Simple\\SimpleObjectTransfer', |
|
| 87 | - 1 => 'null', |
|
| 86 | + 0 => 'Transfer\\Simple\\SimpleObjectTransfer', |
|
| 87 | + 1 => 'null', |
|
| 88 | 88 | ), |
| 89 | 89 | 'required' => false, |
| 90 | 90 | 'actionName' => 'parent', |
| 91 | - ), |
|
| 91 | + ), |
|
| 92 | 92 | ); |
| 93 | 93 | } |
| 94 | 94 | } |