Fixes #73
This commit is contained in:
parent
96f345c657
commit
b4eccc73af
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue