[BUGFIX] Wrong condition in getFirstLineOfMethodBody

The mthod name was misspelled also

Releases: 6.2

Change-Id: I2956889fa0705b230faca873260e865ab393b99a
Reviewed-on: https://review.typo3.org/31602
Reviewed-by: Nico de Haen <mail@ndh-websolutions.de>
Tested-by: Nico de Haen <mail@ndh-websolutions.de>