File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -269,15 +269,15 @@ public function isRefPointerToSchema():bool
269269
270270 public function isRefPointerToSelf ():bool
271271 {
272- $ allOfsInSchema = null ;
272+ $ allOfInSchema = null ;
273273 if (isset ($ this ->schema ->getSchema ()->properties [$ this ->name ]->allOf )) {
274- $ allOfsInSchema = $ this ->schema ->getSchema ()->properties [$ this ->name ]->allOf ;
274+ $ allOfInSchema = $ this ->schema ->getSchema ()->properties [$ this ->name ]->allOf ;
275275 }
276276
277- if ($ allOfsInSchema ) { # fixes https://github.com/php-openapi/yii2-openapi/issues/68
277+ if ($ allOfInSchema ) { # fixes https://github.com/php-openapi/yii2-openapi/issues/68
278278 $ refCounter = 0 ;
279- foreach ($ allOfsInSchema as $ allOf ) {
280- if ($ allOf instanceof Reference) {
279+ foreach ($ allOfInSchema as $ aAllOfElement ) {
280+ if ($ aAllOfElement instanceof Reference) {
281281 $ refCounter ++;
282282 }
283283 }
You can’t perform that action at this time.
0 commit comments