mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 01:17:13 +08:00
Upgrade to PSR12 coding standard (#20121)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @link https://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
@ -133,7 +134,7 @@ class DbSession extends MultiFieldSession
|
||||
return;
|
||||
}
|
||||
|
||||
$row = $this->db->useMaster(function() use ($oldID) {
|
||||
$row = $this->db->useMaster(function () use ($oldID) {
|
||||
return (new Query())->from($this->sessionTable)
|
||||
->where(['id' => $oldID])
|
||||
->createCommand($this->db)
|
||||
|
||||
Reference in New Issue
Block a user