Skip to content

Commit

Permalink
Fixed InsertQueryBuilder::multipleFields() causing exception
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Mar 5, 2017
1 parent 2683db6 commit 2a44faf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ REMOVED:

FIXED:

## 0.4.1 - 2017-03-05

FIXED:

- `InsertQueryBuilder::multipleFields()` caused exception

## 0.4.0 - 2017-03-05

ADDED:
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'

services:
nginx:
worm-nginx:
image: nginx:1.11-alpine
container_name: worm-nginx
networks:
Expand All @@ -18,7 +18,7 @@ services:
depends_on:
- php-fpm

php-fpm:
worm-php-fpm:
image: woohoolabs/php:3.1.4
container_name: worm-php-fpm
networks:
Expand All @@ -31,7 +31,7 @@ services:
depends_on:
- mysql

mysql:
worm-mysql:
image: mysql:5.7
container_name: worm-mysql
ports:
Expand Down
2 changes: 1 addition & 1 deletion src/Query/InsertQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function multipleFields(array $fields): InsertQueryBuilder

$values = [];
foreach ($fields as $record) {
$values = array_values($record);
$values[] = array_values($record);
}

$this->queryBuilder->columns($columns);
Expand Down

0 comments on commit 2a44faf

Please sign in to comment.