spelling, small cleanups
This commit is contained in:
@@ -4,7 +4,7 @@ namespace BSR\Lib\Exception;
|
||||
|
||||
class WebException extends \Exception
|
||||
{
|
||||
private $excname;
|
||||
private $exceptionName;
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
@@ -13,12 +13,12 @@ class WebException extends \Exception
|
||||
*/
|
||||
function __construct($name, $reason, $code)
|
||||
{
|
||||
$this->excname = $name;
|
||||
$this->exceptionName = $name;
|
||||
parent::__construct($reason, $code);
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->excname;
|
||||
return $this->exceptionName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user