Browse Source

changed a hard coded class string to be dynamic

pull/1/head
Cerys Lewis 1 week ago
parent
commit
aa14dcdb61
  1. 2
      src/SchemaBuilder/SchemaBuilder.php

2
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)

Loading…
Cancel
Save