Skip to content

Commit

Permalink
fix incorrect usage of startSaving in single upload hander (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
HOTAIBI authored and pionl committed May 14, 2018
1 parent 202eb34 commit b5ed48e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Handler/SingleUploadHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class SingleUploadHandler extends AbstractHandler
*
* @return SingleSave
*/
public function startSaving($chunkStorage, $config)
public function startSaving($chunkStorage)
{
return new SingleSave($this->file, $this, $config);
return new SingleSave($this->file, $this, $this->config));
}

/**
Expand Down

2 comments on commit b5ed48e

@HOTAIBI
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update this line
return new SingleSave($this->file, $this, $this->config));
with
return new SingleSave($this->file, $this, $this->config);
only one ")" not "))"

@pionl
Copy link
Owner

@pionl pionl commented on b5ed48e May 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh missed that ... damn. Fixed in v1.2.2

Please sign in to comment.