mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
Merge pull request #4475 from tom--/remove-else-after-return
Remove nonsense branch logic
This commit is contained in:
@@ -439,13 +439,11 @@ class Security extends Component
|
||||
|
||||
if ($this->compareString($hash, $calculatedHash)) {
|
||||
return $pureData;
|
||||
} else {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates specified number of random bytes.
|
||||
|
||||
Reference in New Issue
Block a user