More yoda conditions

This commit is contained in:
David Stone
2025-02-09 12:30:02 -07:00
parent d9122a410d
commit 0a4c81c105
97 changed files with 323 additions and 289 deletions

View File

@ -113,7 +113,7 @@ class Signup_Fields_Manager extends Base_Manager {
*/
public function get_instantiated_field_types() {
if ($this->instantiated_field_types === null) {
if (null === $this->instantiated_field_types) {
$this->instantiated_field_types = array_map([$this, 'instantiate_field_type'], $this->get_field_types());
}