Fixes #73
This commit is contained in:
parent
96f345c657
commit
b4eccc73af
@ -169,7 +169,7 @@ trait Files
|
|||||||
*/
|
*/
|
||||||
public function fileEdit(array $file)
|
public function fileEdit(array $file)
|
||||||
{
|
{
|
||||||
if (!empty($file)) {
|
if (empty($file)) {
|
||||||
throw new \InvalidArgumentException(
|
throw new \InvalidArgumentException(
|
||||||
'Parameter `file` must contains a data'
|
'Parameter `file` must contains a data'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user