This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
It seems like you call parent on a different method (boot() instead of register()). Are you sure this is correct? If so, you might want to change this to $this->boot().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.