Override findOneByColumn, findAllByColumn and sum to use deletiontimestamp.#31
Conversation
… deletion timestamp.
| */ | ||
| public function findAllByColumn($column) | ||
| { | ||
| if ($this->definition->getDeletionTimestamp()) { |
Check notice
Code scanning / Psalm
RiskyTruthyFalsyComparison Note
| */ | ||
| public function findOneColumn($column) | ||
| { | ||
| if ($this->definition->getDeletionTimestamp()) { |
Check notice
Code scanning / Psalm
RiskyTruthyFalsyComparison Note
| */ | ||
| public function sum(string $column) | ||
| { | ||
| if ($this->definition->getDeletionTimestamp()) { |
Check notice
Code scanning / Psalm
RiskyTruthyFalsyComparison Note
|
Looks good. Could you please address the Psalm issues before we merge. There's some annotations needed because you're overriding methods on |
|
@joshmcrae not sure how psalm manages to pick just these things out, if I run it locally it produces tons of errors 😅 I've made the changes for those specific ones it's upset about 👍 |
This should be the last of the methods we need to override to use the deletion timestamp.