spelling, small cleanups

This commit is contained in:
Gilles Crettenand
2015-06-02 23:14:54 +02:00
parent b587047d17
commit 4f865d1186
8 changed files with 36 additions and 38 deletions

View File

@@ -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;
}
}