removed unreachable throw

This commit is contained in:
Artem Bondarenko 2021-01-28 17:01:55 +02:00 committed by David Garcia
parent 612d1ad262
commit 58a3efd166

View File

@ -144,8 +144,6 @@ class Message extends HttpApi
}
$resource = fopen($path, 'r');
} else {
throw new InvalidArgumentException('When using a file you need to specify parameter "fileContent" or "filePath"');
}
return [