@@ -75,8 +75,7 @@ discard block |
||
| 75 | 75 | // Ignore everything else |
| 76 | 76 | $this->lastToken = null; |
| 77 | 77 | } |
| 78 | - } |
|
| 79 | - else if ( is_array( $token ) === true ) |
|
| 78 | + } else if ( is_array( $token ) === true ) |
|
| 80 | 79 | { |
| 81 | 80 | switch ( $token[0] ) |
| 82 | 81 | { |
@@ -369,8 +368,7 @@ discard block |
||
| 369 | 368 | { |
| 370 | 369 | // Function name |
| 371 | 370 | $this->parserStruct['function'] = $token[1]; |
| 372 | - } |
|
| 373 | - else |
|
| 371 | + } else |
|
| 374 | 372 | { |
| 375 | 373 | // Type hint |
| 376 | 374 | $this->parserStruct['typehint'] = $token[1]; |
@@ -572,8 +570,7 @@ discard block |
||
| 572 | 570 | if ( preg_match( $regexp, $attribute[2], $matches ) ) |
| 573 | 571 | { |
| 574 | 572 | $type = $matches[2]; |
| 575 | - } |
|
| 576 | - else if ( $return = preg_match( '/^[\s*]*@var\s+(\S+).*$/m', $attribute[2], $matches ) ) |
|
| 573 | + } else if ( $return = preg_match( '/^[\s*]*@var\s+(\S+).*$/m', $attribute[2], $matches ) ) |
|
| 577 | 574 | { |
| 578 | 575 | $type = trim( $matches[1] ); |
| 579 | 576 | } |