Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible update for kdyby/console #345

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": "^7.1",
"doctrine/orm": "~2.7",
"doctrine/dbal": "~2.9",
"kdyby/console": "^2.7.1",
"kdyby/console": "^2.7.1 || ^4.0.0",
"kdyby/annotations": "^3.0",
"kdyby/doctrine-cache": "^3.0",
"kdyby/strict-objects": "^2.0",
Expand Down
9 changes: 1 addition & 8 deletions src/Kdyby/Doctrine/DI/IRepositoryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,5 @@
*/
interface IRepositoryFactory
{

/**
* @param ORM\EntityManagerInterface $entityManager
* @param ORM\Mapping\ClassMetadata $classMetadata
* @return EntityRepository
*/
public function create(ORM\EntityManagerInterface $entityManager, ORM\Mapping\ClassMetadata $classMetadata);

public function create(ORM\EntityManagerInterface $em, ORM\Mapping\ClassMetadata $class): EntityRepository;
}