Skip to content

Commit

Permalink
Fix correct call for static function
Browse files Browse the repository at this point in the history
  • Loading branch information
pionl authored Mar 5, 2018
1 parent 3690103 commit ee9157a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Handler/AbstractHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected function createChunkFileName($additionalName = null)
// ensure that the chunk name is for unique for the client session
$useSession = $this->config->chunkUseSessionForName();
$useBrowser = $this->config->chunkUseBrowserInfoForName();
if ($useSession && $this->canUseSession() === false) {
if ($useSession && static::canUseSession() === false) {
$useBrowser = true;
$useSession = false;
}
Expand Down Expand Up @@ -154,4 +154,4 @@ abstract public function isChunkedUpload();
* @return int
*/
abstract public function getPercentageDone();
}
}

0 comments on commit ee9157a

Please sign in to comment.