DocBlock LogicException in increment and decrement function