From 1cc88e10c3527d3b80f694078fff071366be076e Mon Sep 17 00:00:00 2001 From: Matthew Batchelder Date: Tue, 14 Nov 2023 07:27:34 -0500 Subject: [PATCH] Adjust spacing Co-authored-by: Nikolay Strikhar --- src/DB/QueryBuilder/Concerns/CRUD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DB/QueryBuilder/Concerns/CRUD.php b/src/DB/QueryBuilder/Concerns/CRUD.php index 775512d..40f81ca 100644 --- a/src/DB/QueryBuilder/Concerns/CRUD.php +++ b/src/DB/QueryBuilder/Concerns/CRUD.php @@ -62,7 +62,7 @@ public function update( $data, $format = null ) { public function upsert( $data, $match = [], $format = null ) { // Build the where clause(s). foreach ( $match as $column ) { - $this->where( $column, $data[$column] ); + $this->where( $column, $data[ $column ] ); } // If the row exists, update it.