Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #68 from dhanielo/master
Browse files Browse the repository at this point in the history
Fix PHP 7 Backward incompatible
  • Loading branch information
mevdschee committed Jan 22, 2016
2 parents 7271a30 + fd730a3 commit 591ef2f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cache/LoggingMemcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ public function getVersion() {
$name = 'getVersion';
$arguments = array();
}
list() = array();
$result = parent::getVersion();
list() = array();

if ($this->logging) {
$time = microtime(true) - $start;
$this->calls[] = (object) compact('start', 'time', 'name', 'arguments', 'result');
Expand Down Expand Up @@ -255,9 +254,8 @@ public function close() {
$name = 'close';
$arguments = array();
}
list() = array();
$result = parent::close();
list() = array();

if ($this->logging) {
$time = microtime(true) - $start;
$this->calls[] = (object) compact('start', 'time', 'name', 'arguments', 'result');
Expand Down

0 comments on commit 591ef2f

Please sign in to comment.