Skip to content

Commit

Permalink
Merge pull request #40 from JoolsMcFly/JoolsMcFly-fix-softDelete-cons…
Browse files Browse the repository at this point in the history
…tructor

Fixes wrong type expectation in onSoftDelete constructor
  • Loading branch information
RubenHarms authored Jan 15, 2024
2 parents 8ad9c10 + e09d8ce commit 698b812
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Mapping/Annotation/onSoftDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,4 @@ final class onSoftDelete // extends Annotation
{
/** @var string @Required */
public $type;

public function __construct(
?string $type = null
) {
$this->type = $type;
}
}

0 comments on commit 698b812

Please sign in to comment.