Skip to content

Commit 88b274a

Browse files
committed
typo
1 parent a78f943 commit 88b274a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Caching/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ public function save($key, $data, array $dependencies = NULL)
139139
if ($data === NULL) {
140140
$this->storage->remove($key);
141141
} else {
142-
$this->storage->write($key, $data, $this->completeDependencies($dependencies, $data));
142+
$this->storage->write($key, $data, $this->completeDependencies($dependencies));
143143
return $data;
144144
}
145145
}
146146

147147

148-
private function completeDependencies($dp, $data)
148+
private function completeDependencies($dp)
149149
{
150150
// convert expire into relative amount of seconds
151151
if (isset($dp[self::EXPIRATION])) {

0 commit comments

Comments
 (0)