Commit Graph

10 Commits

Author SHA1 Message Date
Marco Pivetta 15a5d4f5e1 Propagating @psalm-pure to factories and builders used internally to purely assemble a UuidInterface
Ref: https://github.com/ramsey/uuid/pull/300#issuecomment-601329450
2020-03-23 11:25:22 +01:00
Ben Ramsey bf237a1962 Change UuidBuilderInterface::build() to accept bytes instead of fields 2020-01-21 15:49:18 -06:00
Ben Ramsey 52f764c284 Change first constructor param in Uuid to Rfc4122\FieldsInterface 2020-01-18 12:14:00 -06:00
Ben Ramsey 8e79ff851a Address Psalm errors 2020-01-18 12:13:56 -06:00
Ben Ramsey 0d7b8c2b7a Update coding style to include PSR-12, among other options
This also includes heavy use of slevomat/coding-standard to apply
various checks to the code, based on maintainer (me) preference.
2020-01-18 12:13:55 -06:00
Massimiliano Arione 5459113b81 add typehints and return types 2020-01-18 12:13:10 -06:00
Ben Ramsey 4e548705c0 Point to Ramsey\Uuid\UuidInterface::getFieldsHex instead 2015-09-27 18:59:32 -05:00
Ben Ramsey 67fe80dc1b Add docblocks for classes and interface in Ramsey\Uuid\Builder namespace 2015-09-03 23:00:55 -04:00
Ben Ramsey cf1776ebd6 Fix incompatible return type declaration issue
Scrutinizer turned up this issue, since the declared return type in
`UuidBuilderInterface` was of `Uuid` and we weren't properly importing
`\Ramsey\Uuid\Uuid` in a `use` statement.
2015-08-13 11:00:41 -05:00
Ben Ramsey db27dc1680 Rename UuidBuilder to Builder\UuidBuilderInterface 2015-07-16 10:06:16 -05:00