fix documentation error

argument $outputStream of type resource, but the function expects an
object<SplFileObject> because it delegates it to handleInput.
fix LSP violation

The return type of return preg_match (integer) is incompatible with
the return type declared by the abstract method FilterIterator::accept
of type boolean.
fix documentation

It seems like $reflectedClass of type object<ReflectionClass> is
incompatible with the declared type string of property $reflectedClass.
fix type

The property $pcrePattern was declared of type string, but false is of
type false. Maybe add a type cast?
fix DocBlocks
move method to parent method

the method writeDocCommentOfMethod does not return anything. Having it
as a param for sprintf doesn't make much sense. Moving this up to be in
writeMethods() instead.
extract constant

indentation should be the same whenever it's used so I am extracting
this to a constant.
fix writeInterfaceSignature

$distillate->getExtendingInterfaces() of type string, but the function
expects a boolean. Also, DocBlock was wrong.
up version number after various doc/bug fixes