Updates based on latest phpstan run

This commit is contained in:
Clemens Schwaighofer
2022-09-02 17:00:22 +09:00
parent 1a6c65df0e
commit 4b3fbaa309
5 changed files with 18 additions and 43 deletions

View File

@@ -2580,9 +2580,9 @@ class IO
// loop through the write array and each field to build the query
foreach ($write_array as $field) {
if (
(empty($primary_key['value']) ||
(!empty($primary_key['value']) &&
!in_array($field, $not_write_update_array))
(
empty($primary_key['value']) ||
!in_array($field, $not_write_update_array)
) &&
!in_array($field, $not_write_array)
) {