Type hint for Scrutinizer.
This commit is contained in:
parent
3590972a81
commit
e024bdba85
@ -17,6 +17,7 @@ class FieldDefinition
|
||||
throw new \Exception('File ' . $definitionFile . ' not found!');
|
||||
}
|
||||
$fieldDataJson = file_get_contents($definitionFile);
|
||||
/** @var array */
|
||||
$this->fieldData = json_decode($fieldDataJson, true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user