- A lot of bugfixes, mainly with escaping (still working on it to get 100% coverage)
This commit is contained in:
1 parent
e3d0e45a4e
commit
3905047111
8 files changed
+91
-126
No files matched your search
@@ -11,6 +11,8 @@ class FieldDefinition {
|
||||
|
||||
public bool $builtIn;
|
||||
|
||||
public string $name;
|
||||
|
||||
public string $type;
|
||||
|
||||
public array $tags;
|
||||
@@ -115,9 +117,7 @@ class FieldDefinition {
|
||||
|
||||
protected function getFieldTag() : ? Field
|
||||
{
|
||||
$field = array_filter($this->tags, function($item) {
|
||||
return $item['object'] instanceof Field;
|
||||
});
|
||||
$field = array_filter($this->tags, fn($item) => $item['object'] instanceof Field);
|
||||
|
||||
return array_pop($field)['object'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user