You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Adapter/Doctrine/ORMAdapter.php
+18-13Lines changed: 18 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -77,19 +77,7 @@ public function configure(array $options)
77
77
$this->configureOptions($resolver);
78
78
$options = $resolver->resolve($options);
79
79
80
-
// Enable automated mode or just get the general default entity manager
81
-
if (null === ($this->manager = $this->registry->getManagerForClass($options['entity']))) {
82
-
thrownewInvalidConfigurationException(sprintf('Doctrine has no manager for entity "%s", is it correctly imported and referenced?', $options['entity']));
// Enable automated mode or just get the general default entity manager
310
+
if (null === ($this->manager = $this->registry->getManagerForClass($options['entity']))) {
311
+
thrownewInvalidConfigurationException(sprintf('Doctrine has no manager for entity "%s", is it correctly imported and referenced?', $options['entity']));
0 commit comments