Fixed typo

This commit is contained in:
Simon Sessingø
2017-11-26 18:29:00 +01:00
parent c90c74b88f
commit fae2e84c98
+1 -1
View File
@@ -28,7 +28,7 @@ class InputFile implements IInputItem
*/
public static function createFromArray(array $values)
{
if (isset('index', $values) === false) {
if (isset($values['index']) === false) {
throw new \InvalidArgumentException('Index key is required');
}