mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 01:27:20 +08:00
Changed __toString method to catch all PHP 7 error types. \Throwable is part of PHP 7+, so I left the \Exception in for older PHP.
Changed __toString method to catch all PHP 7 error types. \Throwable is part of PHP 7+, so I left the \Exception in for older PHP.