Skip to content

Commit 2c0e513

Browse files
authored
Merge pull request #320 from binaryfire/fix/soft-deleted-in-database-constraint
fix: missing property promotion in soft delete constraints
2 parents 21239db + 97a311f commit 2c0e513

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/foundation/src/Testing/Constraints/NotSoftDeletedInDatabase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class NotSoftDeletedInDatabase extends Constraint
1919
*/
2020
public function __construct(
2121
protected Connection $database,
22-
array $data,
23-
string $deletedAtColumn
22+
protected array $data,
23+
protected string $deletedAtColumn
2424
) {
2525
}
2626

src/foundation/src/Testing/Constraints/SoftDeletedInDatabase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class SoftDeletedInDatabase extends Constraint
1919
*/
2020
public function __construct(
2121
protected Connection $database,
22-
array $data,
23-
string $deletedAtColumn
22+
protected array $data,
23+
protected string $deletedAtColumn
2424
) {
2525
}
2626

0 commit comments

Comments
 (0)