File tree 1 file changed +5
-5
lines changed
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
269
269
270
270
public function isRefPointerToSelf ():bool
271
271
{
272
- $ allOfsInSchema = null ;
272
+ $ allOfInSchema = null ;
273
273
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 ;
275
275
}
276
276
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
278
278
$ refCounter = 0 ;
279
- foreach ($ allOfsInSchema as $ allOf ) {
280
- if ($ allOf instanceof Reference) {
279
+ foreach ($ allOfInSchema as $ aAllOfElement ) {
280
+ if ($ aAllOfElement instanceof Reference) {
281
281
$ refCounter ++;
282
282
}
283
283
}
You can’t perform that action at this time.
0 commit comments