@@ -1283,7 +1283,7 @@ public function getDeclarationName($stackPtr)
1283
1283
* 'name' => '$var', // The variable name.
1284
1284
* 'token' => integer, // The stack pointer to the variable name.
1285
1285
* '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 ?
1287
1287
* 'pass_by_reference' => boolean, // Is the variable passed by reference?
1288
1288
* 'reference_token' => integer, // The stack pointer to the reference operator
1289
1289
* // or FALSE if the param is not passed by reference.
@@ -1356,7 +1356,7 @@ public function getMethodParameters($stackPtr)
1356
1356
$ defaultStart = null ;
1357
1357
$ equalToken = null ;
1358
1358
$ paramCount = 0 ;
1359
- $ attributes = false ;
1359
+ $ hasAttributes = false ;
1360
1360
$ passByReference = false ;
1361
1361
$ referenceToken = false ;
1362
1362
$ variableLength = false ;
@@ -1389,7 +1389,7 @@ public function getMethodParameters($stackPtr)
1389
1389
1390
1390
switch ($ this ->tokens [$ i ]['code ' ]) {
1391
1391
case T_ATTRIBUTE :
1392
- $ attributes = true ;
1392
+ $ hasAttributes = true ;
1393
1393
1394
1394
// Skip to the end of the attribute.
1395
1395
$ i = $ this ->tokens [$ i ]['attribute_closer ' ];
@@ -1510,7 +1510,7 @@ public function getMethodParameters($stackPtr)
1510
1510
$ vars [$ paramCount ]['default_equal_token ' ] = $ equalToken ;
1511
1511
}
1512
1512
1513
- $ vars [$ paramCount ]['attributes ' ] = $ attributes ;
1513
+ $ vars [$ paramCount ]['has_attributes ' ] = $ hasAttributes ;
1514
1514
$ vars [$ paramCount ]['pass_by_reference ' ] = $ passByReference ;
1515
1515
$ vars [$ paramCount ]['reference_token ' ] = $ referenceToken ;
1516
1516
$ vars [$ paramCount ]['variable_length ' ] = $ variableLength ;
@@ -1536,7 +1536,7 @@ public function getMethodParameters($stackPtr)
1536
1536
$ paramStart = ($ i + 1 );
1537
1537
$ defaultStart = null ;
1538
1538
$ equalToken = null ;
1539
- $ attributes = false ;
1539
+ $ hasAttributes = false ;
1540
1540
$ passByReference = false ;
1541
1541
$ referenceToken = false ;
1542
1542
$ variableLength = false ;
0 commit comments