Skip to content

Commit 0d95d92

Browse files
committed
Start working on compatibility with doctrine/persistence 4.0
1 parent dcde631 commit 0d95d92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"php": "^7.3|^8.0",
1717
"doctrine/data-fixtures": "^1.4|^2.0",
1818
"doctrine/instantiator": "^1.3|^2.0",
19-
"doctrine/persistence": "^1.3|^2.0|^3.0"
19+
"doctrine/persistence": "^1.3|^2.0|^3.0|^4.0"
2020
},
2121
"require-dev": {
2222
"doctrine/orm": "^2.7|^3.0",

tests/Stubs/ObjectManagerStub_php81.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ public function find(string $className, $id, LockMode|int|null $lockMode = null,
6464
{
6565
}
6666

67-
public function remove(object $object)
67+
public function remove(object $object): void
6868
{
6969
}
7070

71-
public function clear()
71+
public function clear(): void
7272
{
7373
}
7474

0 commit comments

Comments
 (0)