Add type hints and some other tweaks to satisfy PHPStan

This commit is contained in:
Alex Cabal 2020-03-01 10:49:32 -06:00
parent caa623bd0b
commit bef5aea7ad
11 changed files with 72 additions and 28 deletions

View file

@ -2,7 +2,7 @@
class WebhookException extends \Exception{
public $PostData;
public function __construct($message = '', $data = null){
public function __construct(string $message = '', string $data = null){
$this->PostData = $data;
parent::__construct($message);
}