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

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Burns committed Jan 5, 2017
1 parent 61a0374 commit 0297689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ protected function normalizeKeyValuePairs(array & $keyValuePairs)
public function get($key, $default = null)
{
$result = $this->getItem($key);
return $result === null ? $default : $result;
return null === $result ? $default : $result;
}

/**
Expand Down

0 comments on commit 0297689

Please sign in to comment.