mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Add type hints and some other tweaks to satisfy PHPStan
This commit is contained in:
parent
caa623bd0b
commit
bef5aea7ad
11 changed files with 72 additions and 28 deletions
|
@ -2,7 +2,7 @@
|
|||
class SeeOtherEbookException extends \Exception{
|
||||
public $Url;
|
||||
|
||||
public function __construct($url = ''){
|
||||
public function __construct(string $url = ''){
|
||||
$this->Url = $url;
|
||||
parent::__construct('This ebook is at a different URL: ' . $url);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue