From e024bdba85cb5a482cd62a4eba9c3b40bc8fd118 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 9 Jul 2016 20:35:20 +0200 Subject: [PATCH] Type hint for Scrutinizer. --- lib/Frs/FieldDefinition.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Frs/FieldDefinition.php b/lib/Frs/FieldDefinition.php index 0641da6..d9ebaf8 100644 --- a/lib/Frs/FieldDefinition.php +++ b/lib/Frs/FieldDefinition.php @@ -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); }