Skip to content

Commit

Permalink
Add comments in docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
borkweb authored Nov 14, 2023
1 parent 1cc88e1 commit 6b2daf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DB/QueryBuilder/Concerns/CRUD.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ public function update( $data, $format = null ) {
*
* @since 1.0.8
*
* @param array $data The data to insert or update.
* @param array<string, string|int|float|bool|null> $data The data to insert or update.
* @param array $match The columns to match on.
* @param string|null $format
* @param string|array|null $format Array of formats to be mapped to each value in $data. If string, the format will be used for all values in $data.
*
* @return false|int
* @return false|int Number of rows updated/inserted, false on error.
*/
public function upsert( $data, $match = [], $format = null ) {
// Build the where clause(s).
Expand Down

0 comments on commit 6b2daf4

Please sign in to comment.