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