diff --git a/src/SchemaBuilder/SchemaBuilder.php b/src/SchemaBuilder/SchemaBuilder.php index 33d8258..fdb66f5 100644 --- a/src/SchemaBuilder/SchemaBuilder.php +++ b/src/SchemaBuilder/SchemaBuilder.php @@ -85,7 +85,7 @@ class SchemaBuilder foreach ($property->getAttributes() as $attribute) { - if($attribute->getName() != "Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentField") + if($attribute->getName() != SchemaDocumentField::class) continue; foreach($attribute->getArguments() as $key=>$value)