Type hint for Scrutinizer.

This commit is contained in:
Markus Birth 2016-07-09 20:35:20 +02:00
parent 3590972a81
commit e024bdba85

View File

@ -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);
}