Skip to content

Commit

Permalink
Merge pull request #796 from yajra/analysis-o7pmmZ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
yajra committed Jul 1, 2023
2 parents f1dc8bc + bf3679c commit 00ceb8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Oci8/Query/Grammars/OracleGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public function compileInsert(Builder $query, array $values)
if (count($value) > 1) {
$insertQueries = [];
foreach ($value as $parameter) {
$parameter = (str_replace(['(', ')'], '', $parameter));
$parameter = str_replace(['(', ')'], '', $parameter);
$insertQueries[] = 'select '.$parameter.' from dual ';
}
$parameters = implode('union all ', $insertQueries);
Expand Down
4 changes: 2 additions & 2 deletions tests/Database/OracleEloquentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function mockConnectionForModel($model, $database)
'getPostProcessor' => $processor,
]);
$resolver = m::mock('Illuminate\Database\ConnectionResolverInterface',
['connection' => $connection]);
['connection' => $connection]);
$class = get_class($model);
$class::setConnectionResolver($resolver);

Expand All @@ -79,7 +79,7 @@ protected function mockConnectionForModel($model, $database)
'getPostProcessor' => $processor,
]);
$resolver = m::mock('Illuminate\Database\ConnectionResolverInterface',
['connection' => $connection]);
['connection' => $connection]);
$class = get_class($model);
$class::setConnectionResolver($resolver);
}
Expand Down

0 comments on commit 00ceb8e

Please sign in to comment.