mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 19:24:48 +01:00
use early return
This commit is contained in:
parent
f00eb1c7b7
commit
9d938daffb
@ -210,10 +210,6 @@ PHP
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($expr->right instanceof NotEqual) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return $expr->right instanceof NotEqual;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user