Merge pull request #74 from Neur0toxine/master
Fix invalid condition in fileEdit
This commit is contained in:
commit
2ab21e1ea6
@ -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…
Reference in New Issue
Block a user