From e09d8ce0a487f2410f255531bc206aa9604755d0 Mon Sep 17 00:00:00 2001 From: Julien Dephix Date: Fri, 12 Jan 2024 16:50:53 +0100 Subject: [PATCH] Fixes #38 which is due to wrong type expectation in onSoftDelete constructor constructor was changed to accept `?string $type` but it's in fact an array `['type' => 'CASCADE']`. --- Mapping/Annotation/onSoftDelete.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Mapping/Annotation/onSoftDelete.php b/Mapping/Annotation/onSoftDelete.php index 453c187..f25cb39 100644 --- a/Mapping/Annotation/onSoftDelete.php +++ b/Mapping/Annotation/onSoftDelete.php @@ -19,10 +19,4 @@ final class onSoftDelete // extends Annotation { /** @var string @Required */ public $type; - - public function __construct( - ?string $type = null - ) { - $this->type = $type; - } }