Display type correctly for constructors

The old code displayed the type of __construct as "phpmd\node\methodnode" instead of the expected "method".