Completed
Push — master ( 55b06d...9f2a87 )
by Alexander
35:57
created

framework/base/InvalidArgumentException.php (1 issue)

1
<?php
2
/**
3
 * @link http://www.yiiframework.com/
4
 * @copyright Copyright (c) 2008 Yii Software LLC
5
 * @license http://www.yiiframework.com/license/
6
 */
7
8
namespace yii\base;
9
10
/**
11
 * InvalidArgumentException represents an exception caused by invalid arguments passed to a method.
12
 *
13
 * @author Qiang Xue <[email protected]>
14
 * @since 2.0.14
15
 */
16
class InvalidArgumentException extends InvalidParamException
0 ignored issues
show
Deprecated Code introduced by
The class yii\base\InvalidParamException has been deprecated: since 2.0.14. Use [[InvalidArgumentException]] instead. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

16
class InvalidArgumentException extends /** @scrutinizer ignore-deprecated */ InvalidParamException
Loading history...
17
{
18
    /**
19
     * @return string the user-friendly name of this exception
20
     */
21
    public function getName()
22
    {
23
        return 'Invalid Argument';
24
    }
25
}
26