Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Dec 12, 2018
1 parent 71cee11 commit 9a162f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/class-wp-redis-object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,8 @@ public function decr($key, $offset = 1, $group = 'default')
*
* @return mixed The value returned from $callback, pulled from the cache when available.
*/
public function remember($key, $callback, $group = '', $expire = 0) {
public function remember($key, $callback, $group = '', $expire = 0)
{
$found = false;
$cached = $this->get($key, $group, false, $found);

Expand All @@ -723,7 +724,8 @@ public function remember($key, $callback, $group = '', $expire = 0) {
*
* @return mixed The cached value, when available, or $default.
*/
public function forget($key, $group = '', $default = null) {
public function forget($key, $group = '', $default = null)
{
$found = false;
$cached = $this->get($key, $group, false, $found);

Expand Down

0 comments on commit 9a162f4

Please sign in to comment.