@@ -1283,7 +1283,7 @@ public function getDeclarationName($stackPtr)
12831283 * 'name' => '$var', // The variable name.
12841284 * 'token' => integer, // The stack pointer to the variable name.
12851285 * 'content' => string, // The full content of the variable definition.
1286- * 'attributes' => boolean, // Does the parameter have one or more attributes attached ?
1286+ * 'has_attributes' => boolean, // Does the parameter have one or more attributes attached ?
12871287 * 'pass_by_reference' => boolean, // Is the variable passed by reference?
12881288 * 'reference_token' => integer, // The stack pointer to the reference operator
12891289 * // or FALSE if the param is not passed by reference.
@@ -1356,7 +1356,7 @@ public function getMethodParameters($stackPtr)
13561356 $ defaultStart = null ;
13571357 $ equalToken = null ;
13581358 $ paramCount = 0 ;
1359- $ attributes = false ;
1359+ $ hasAttributes = false ;
13601360 $ passByReference = false ;
13611361 $ referenceToken = false ;
13621362 $ variableLength = false ;
@@ -1389,7 +1389,7 @@ public function getMethodParameters($stackPtr)
13891389
13901390 switch ($ this ->tokens [$ i ]['code ' ]) {
13911391 case T_ATTRIBUTE :
1392- $ attributes = true ;
1392+ $ hasAttributes = true ;
13931393
13941394 // Skip to the end of the attribute.
13951395 $ i = $ this ->tokens [$ i ]['attribute_closer ' ];
@@ -1510,7 +1510,7 @@ public function getMethodParameters($stackPtr)
15101510 $ vars [$ paramCount ]['default_equal_token ' ] = $ equalToken ;
15111511 }
15121512
1513- $ vars [$ paramCount ]['attributes ' ] = $ attributes ;
1513+ $ vars [$ paramCount ]['has_attributes ' ] = $ hasAttributes ;
15141514 $ vars [$ paramCount ]['pass_by_reference ' ] = $ passByReference ;
15151515 $ vars [$ paramCount ]['reference_token ' ] = $ referenceToken ;
15161516 $ vars [$ paramCount ]['variable_length ' ] = $ variableLength ;
@@ -1536,7 +1536,7 @@ public function getMethodParameters($stackPtr)
15361536 $ paramStart = ($ i + 1 );
15371537 $ defaultStart = null ;
15381538 $ equalToken = null ;
1539- $ attributes = false ;
1539+ $ hasAttributes = false ;
15401540 $ passByReference = false ;
15411541 $ referenceToken = false ;
15421542 $ variableLength = false ;
0 commit comments