Skip to content

Commit

Permalink
Task local.neon: Use EntityManagerInterface for Doctrine detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Jun 3, 2021
1 parent b0a785a commit 238342f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InteractiveComposer/Task/ConfigLocalNeonTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function run(): bool

return true;
}
if (class_exists('\Baraja\Doctrine\EntityManager') === false) {
if (interface_exists('Doctrine\ORM\EntityManagerInterface') === false) {
file_put_contents($path, '');

return true;
Expand Down

0 comments on commit 238342f

Please sign in to comment.