coding-standard
coding-standard copied to clipboard
RequireNullSafeObjectOperator unhandled case
Hello, I just found condition that I believe could be simplified to nullsafe call automatically.
From:
if ($this->paginator !== null) {
$this->paginator->setItemsPerPage($this->itemsPerPage);
}
To:
$this->paginator?->setItemsPerPage($this->itemsPerPage);
Feel free to close the issue, I really appreciate how amazing this package already is and don't want throw more work at you. I may share more ideas otherwise :'D