All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
Parameter::with()
. - Add
ShapeElement::with()
.
- Make
ShapeElement::__construct($type)
optional withtypes::mixed
as a default value.
- Add
types::value()
factory that creates aType
from an arbitrary value.
- Deprecate
types::scalar()
in favor ofvalue()
.
- Drop needless
$type
parameter PHPDoc types inTypeVisitor
. - Return
Type<int>
intypes::intMask()
due to possibly overflowing bitmasks.
- Replace self, parent and static type arguments in RecursiveTypeReplacer.