Commit b736548
rve
Fix PathItem::resolveReferences() for array fields
The previous code `$this->$attribute[$k] = $referencedObject` had
no effect because `$this->$attribute` invokes `SpecBaseObject::__get()`,
which does *not* return a reference. Indeed PHP issued `Notice: Indirect
modification of overloaded property
cebe\openapi\spec\PathItem::$parameters has no effect` in this case.1 parent dac8870 commit b736548
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
0 commit comments