Skip to content

Commit

Permalink
Update phalcon/Session/Adapter/AbstractAdapter.zep
Browse files Browse the repository at this point in the history
Co-Authored-By: Serghei Iakovlev <sergeyklay@users.noreply.github.com>
  • Loading branch information
ZhangRuiMingZRM and sergeyklay authored Aug 20, 2019
1 parent 904d63b commit d64931a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/Session/Adapter/AbstractAdapter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ abstract class AbstractAdapter implements SessionHandlerInterface
var data;
let data = this->adapter->get(id);

return is_null(data) ? "" : data;
return null === data ? "" : data;
}

/**
Expand Down

0 comments on commit d64931a

Please sign in to comment.