Skip to content

Commit

Permalink
feat: allow doctrine/persistence v4 (#1863)
Browse files Browse the repository at this point in the history
  • Loading branch information
kochen authored Jan 31, 2025
1 parent 94186da commit 85b2567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"require": {
"php": "^8.1",
"doctrine/dbal": "^3.7.0 || ^4.0",
"doctrine/persistence": "^2.2 || ^3",
"doctrine/persistence": "^2.2 || ^3 || ^4",
"doctrine/sql-formatter": "^1.0.1",
"symfony/cache": "^6.4 || ^7.0",
"symfony/config": "^6.4 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/MappingDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct(
/**
* {@inheritDoc}
*/
public function getAllClassNames()
public function getAllClassNames(): array
{
return $this->driver->getAllClassNames();
}
Expand Down

0 comments on commit 85b2567

Please sign in to comment.