mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
PHP type casting
This commit is contained in:
@ -150,7 +150,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
|
||||
*/
|
||||
public function checkIntegrity($check = true, $schema = '', $table = '')
|
||||
{
|
||||
return 'PRAGMA foreign_keys='.(int)$check;
|
||||
return 'PRAGMA foreign_keys='.(int) $check;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user