| 1 | <?php |
||
| 21 | class StoredEvent implements DomainEvent |
||
| 22 | { |
||
| 23 | private $id; |
||
|
|
|||
| 24 | private $type; |
||
| 25 | private $payload; |
||
| 26 | private $occurredOn; |
||
| 27 | private $streamName; |
||
| 28 | |||
| 29 | public function __construct($type, $payload, \DateTimeInterface $occurredOn, StreamName $streamName) |
||
| 36 | |||
| 37 | private function setOccurredOn(\DateTimeInterface $occurredOn) |
||
| 41 | |||
| 42 | public function occurredOn() |
||
| 46 | } |
||
| 47 |
This check marks private properties in classes that are never used. Those properties can be removed.