Skip to content

Commit 9d16219

Browse files
committed
docs: add "," in comments
1 parent ae51f28 commit 9d16219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/BaseModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,12 +910,12 @@ public function update($id = null, $data = null): bool
910910
return false;
911911
}
912912

913-
// Must be called first so we don't
913+
// Must be called first, so we don't
914914
// strip out updated_at values.
915915
$data = $this->doProtectFields($data);
916916

917917
// doProtectFields() can further remove elements from
918-
// $data so we need to check for empty dataset again
918+
// $data, so we need to check for empty dataset again
919919
if (empty($data)) {
920920
throw DataException::forEmptyDataset('update');
921921
}

0 commit comments

Comments
 (0)