Skip to content

Commit 11ad653

Browse files
authored
Merge pull request #28 from webfactor/issue-27
strip spaces from schema
2 parents 83b82f3 + 2bb749f commit 11ad653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Schemas/Schema.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class Schema
1212

1313
public function __construct(string $schema)
1414
{
15+
$schema = str_replace(', ', ',', $schema);
1516
$this->parseSchemaFields($this->getSchemaFieldsFromSchemaString($schema));
1617
}
1718

0 commit comments

Comments
 (0)