Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
exception
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Feb 7, 2017
1 parent cb8d493 commit 4f6c1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Spiral/ODM/Schemas/InheritanceHelper.php
Expand Up @@ -95,7 +95,7 @@ public function makeDefinition()

if (empty($uniqueField)) {
throw new DefinitionException(
"Child document {$schema} of {$this} does not have any unique field"
"Child document {$schema->getClass()} of {$this} does not have any unique field"
);
}

Expand Down

0 comments on commit 4f6c1fb

Please sign in to comment.