1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

rename method too

This commit is contained in:
orklah 2021-09-06 23:20:08 +02:00
parent 9ab46ff3e0
commit d919a53674

View File

@ -181,7 +181,7 @@ class ArithmeticOpAnalyzer
foreach ($left_type->getAtomicTypes() as $left_type_part) {
foreach ($right_type->getAtomicTypes() as $right_type_part) {
$candidate_result_type = self::analyzeNonDivOperands(
$candidate_result_type = self::analyzeOperands(
$statements_source,
$codebase,
$config,
@ -288,7 +288,7 @@ class ArithmeticOpAnalyzer
* @param string[] &$invalid_left_messages
* @param string[] &$invalid_right_messages
*/
private static function analyzeNonDivOperands(
private static function analyzeOperands(
?StatementsSource $statements_source,
?\Psalm\Codebase $codebase,
Config $config,