mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
fix Exception\Throwable order
This commit is contained in:
@ -335,9 +335,9 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
|
||||
{
|
||||
try {
|
||||
return $this->__get($name) !== null;
|
||||
} catch (\Throwable $t) {
|
||||
} catch (\Exception $t) {
|
||||
return false;
|
||||
} catch (\Exception $e) {
|
||||
} catch (\Throwable $e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user