Skip to content

Commit ca65295

Browse files
mbabkerphansys
andcommitted
Update src/Revisionable/Mapping/Driver/Attribute.php
Co-authored-by: Javier Spagnoletti <[email protected]>
1 parent 13607b9 commit ca65295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Revisionable/Mapping/Driver/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function readExtendedMetadata($meta, array &$config)
103103
if (!$meta->isMappedSuperclass && $config) {
104104
// The revisionable flag must be set, except for embedded models, and the versioned config should be a non-empty array
105105
if (isset($config['versioned']) && (!$this->isEmbed($meta) && !isset($config['revisionable']))) {
106-
throw new InvalidMappingException(sprintf("Class '%s' has '%s' annotated fields but is missing the '%s' class annotation.", $meta->getName(), Versioned::class, Revisionable::class));
106+
throw new InvalidMappingException(sprintf('Class "%s" has "%s" annotated fields but is missing the "%s" class annotation.', $meta->getName(), Versioned::class, Revisionable::class));
107107
}
108108
}
109109

0 commit comments

Comments
 (0)