more lint fixes

This commit is contained in:
Shish
2019-05-29 18:23:29 +01:00
parent 8a49b1e80e
commit bf473f6d51
36 changed files with 107 additions and 101 deletions

View File

@ -569,7 +569,7 @@ class OuroborosAPI extends Extension
{
if (!is_null($id)) {
$post = new _SafeOuroborosImage(Image::by_id($id));
$this->sendData('post', $post);
$this->sendData('post', [$post]);
} else {
$this->sendResponse(424, 'ID is mandatory');
}