@@ -46,8 +46,8 @@ |
||
46 | 46 | */ |
47 | 47 | public function logQuery(array $query) |
48 | 48 | { |
49 | - if (isset($query['batchInsert']) && null !== $this->batchInsertThreshold && $this->batchInsertThreshold <= $query['num']) { |
|
50 | - $query['data'] = '**'.$query['num'].' item(s)**'; |
|
49 | + if (isset($query[ 'batchInsert' ]) && null !== $this->batchInsertThreshold && $this->batchInsertThreshold <= $query[ 'num' ]) { |
|
50 | + $query[ 'data' ] = '**' . $query[ 'num' ] . ' item(s)**'; |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | array_walk_recursive($query, function(&$value, $key) { |