Skip to content

Commit

Permalink
Make Duration final again
Browse files Browse the repository at this point in the history
Closes #2
  • Loading branch information
jeromegamez committed Jan 28, 2019
1 parent 67abef8 commit 408f414
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unrelease

* The `Duration` class is final again (and will stay that way) [#2](https://github.com/jeromegamez/duration-php/issues/2)

## 2.0 - 2019-01-25

* The `Duration` class is now extensible instead of macroable
Expand Down
2 changes: 1 addition & 1 deletion src/Duration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use DateTimeImmutable;
use Gamez\Duration\Exception\InvalidDuration;

class Duration implements \JsonSerializable
final class Duration implements \JsonSerializable
{
private const NONE = 'PT0S';

Expand Down

0 comments on commit 408f414

Please sign in to comment.