@@ -52,8 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | $hash = is_array($value['identifiers']) ? |
55 | - $value['identifiers'] : |
|
56 | - [$value['identifiers']]; |
|
55 | + $value['identifiers'] : [$value['identifiers']]; |
|
57 | 56 | |
58 | 57 | return $this->fieldType->fromHash($hash); |
59 | 58 | } |
@@ -69,8 +69,8 @@ |
||
69 | 69 | /** |
70 | 70 | * Returns the data for the given $fieldId and $versionNo. |
71 | 71 | * |
72 | - * @param mixed $fieldId |
|
73 | - * @param mixed $versionNo |
|
72 | + * @param integer $fieldId |
|
73 | + * @param integer $versionNo |
|
74 | 74 | * |
75 | 75 | * @return array |
76 | 76 | */ |
@@ -94,7 +94,7 @@ |
||
94 | 94 | $rows = $statement->fetchAll(FetchMode::ASSOCIATIVE); |
95 | 95 | |
96 | 96 | return array_map( |
97 | - static function (array $row) { |
|
97 | + static function(array $row) { |
|
98 | 98 | return $row['identifier']; |
99 | 99 | }, |
100 | 100 | $rows |