mirror of
https://github.com/dg/dibi.git
synced 2025-08-25 15:01:29 +02:00
coding style: fixes in code
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* @dataProvider ../databases.ini
|
||||
*/
|
||||
|
||||
use Tester\Assert;
|
||||
use Dibi\Row;
|
||||
use Tester\Assert;
|
||||
|
||||
require __DIR__ . '/bootstrap.php';
|
||||
|
||||
@@ -28,7 +28,7 @@ Assert::equal([
|
||||
|
||||
|
||||
// more complex association array
|
||||
if (!in_array($config['system'], ['odbc', 'sqlsrv'])) {
|
||||
if (!in_array($config['system'], ['odbc', 'sqlsrv'], true)) {
|
||||
$res = $conn->select(['products.title' => 'title', 'customers.name' => 'name'])->select('orders.amount')->as('amount')
|
||||
->from('products')
|
||||
->innerJoin('orders')->using('(product_id)')
|
||||
|
Reference in New Issue
Block a user