Commit d3277ecf by Alexander Makarov

InvalidCallException, InvalidParamException, UnknownMethodException are now…

InvalidCallException, InvalidParamException, UnknownMethodException are now extended from SPL BadMethodCallException
parent 4d235f9f
...@@ -13,7 +13,7 @@ namespace yii\base; ...@@ -13,7 +13,7 @@ namespace yii\base;
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
class InvalidCallException extends Exception class InvalidCallException extends \BadMethodCallException
{ {
/** /**
* @return string the user-friendly name of this exception * @return string the user-friendly name of this exception
......
...@@ -13,7 +13,7 @@ namespace yii\base; ...@@ -13,7 +13,7 @@ namespace yii\base;
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
class InvalidParamException extends Exception class InvalidParamException extends \BadMethodCallException
{ {
/** /**
* @return string the user-friendly name of this exception * @return string the user-friendly name of this exception
......
...@@ -13,7 +13,7 @@ namespace yii\base; ...@@ -13,7 +13,7 @@ namespace yii\base;
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
class UnknownMethodException extends Exception class UnknownMethodException extends \BadMethodCallException
{ {
/** /**
* @return string the user-friendly name of this exception * @return string the user-friendly name of this exception
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment