- Changes the exception thrown by
p810\Tuple::offsetGet()
,p810\Tuple::offsetSet()
, andp810\Tuple::offsetUnset()
fromTypeError
toLogicException
- Removes unnecessary docblocks/docblock annotations
I just wanted to change that TypeError
to something more fitting. I think at the time I choose TypeError
because this is a "faux data type," but I realize now that LogicException
makes more sense because it should lead to a fix in the code if any of those errors are raised. That, and TypeError
has some explicit use cases that I'd failed to notice before. Also, there are a few minor aesthetic/documentation changes to reflect my current coding style more.