mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-18 13:17:36 +01:00
Added catch `\Throwable` to be compatible with PHP7. Added it in cases where object state needs to be kept consistent. Mainly on transactions but also some other places where some values are reset before exiting. Most of them could probably be refactored by using `finally` in 2.1, as that requires PHP 5.5. fixes #12619
24 KiB
24 KiB