dont treat twoline method as empty, fixes #549
use PHP_EOL as cross platform linefeed
Merge pull request #564 from hanneskaeufler/hk-fix-empty-method

dont treat twoline method as empty, fixes #549