mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-21 22:17:44 -04:00
apply null coalescing operator, strict equality, avoid aliases, prefer empty
This commit is contained in:
@@ -309,7 +309,7 @@ class Filesystem extends AbstractData
|
||||
$file = $this->_path . DIRECTORY_SEPARATOR . 'salt.php';
|
||||
if (is_readable($file)) {
|
||||
$items = explode('|', file_get_contents($file));
|
||||
if (count($items) == 3) {
|
||||
if (count($items) === 3) {
|
||||
return $items[1];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user