Skip to content

Commit 3d5fa5f

Browse files
committed
added assert for lumen
1 parent efe78a8 commit 3d5fa5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DoctrineServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ protected function ensureValidatorIsUsable()
8888
if (!$this->isLumen()) {
8989
return;
9090
}
91+
assert(property_exists($this->app, 'availableBindings'));
9192

9293
if ($this->shouldRegisterDoctrinePresenceValidator()) {
9394
// due to weirdness the default presence verifier overrides one set by a service provider

0 commit comments

Comments
 (0)