mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-09 23:18:07 +08:00
yii\redis\ActiveRecord::deleteAll() refactoring - code style updated
This commit is contained in:
@@ -234,7 +234,7 @@ class ActiveRecord extends BaseActiveRecord
|
||||
public static function deleteAll($condition = null)
|
||||
{
|
||||
$pks = self::fetchPks($condition);
|
||||
if(empty($pks)) {
|
||||
if (empty($pks)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user