1
0
mirror of synced 2024-11-21 21:06:07 +03:00

Merge pull request #74 from Neur0toxine/master

Fix invalid condition in fileEdit
This commit is contained in:
Ilyas Salikhov 2019-11-25 13:37:43 +03:00 committed by GitHub
commit 2ab21e1ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ trait Files
*/
public function fileEdit(array $file)
{
if (!empty($file)) {
if (empty($file)) {
throw new \InvalidArgumentException(
'Parameter `file` must contains a data'
);