Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| InvalidTimezoneException | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
| 5 | */ |
| 6 | |
| 7 | declare(strict_types=1); |
| 8 | |
| 9 | namespace pvc\intl\err; |
| 10 | |
| 11 | use pvc\err\stock\LogicException; |
| 12 | use Throwable; |
| 13 | |
| 14 | /** |
| 15 | * Class InvalidTimezoneException |
| 16 | */ |
| 17 | class InvalidTimezoneException extends LogicException |
| 18 | { |
| 19 | public function __construct(string $badTimezone, Throwable $previous = null) |
| 20 | { |
| 21 | parent::__construct($badTimezone, $previous); |
| 22 | } |
| 23 | } |