@@ -15,5 +15,5 @@ |
||
15 | 15 | |
16 | 16 | class NotAPeriodException extends BaseInvalidArgumentException implements InvalidArgumentException |
17 | 17 | { |
18 | - // |
|
18 | + // |
|
19 | 19 | } |
@@ -16,34 +16,34 @@ |
||
16 | 16 | |
17 | 17 | class UnknownMethodException extends BaseBadMethodCallException implements BadMethodCallException |
18 | 18 | { |
19 | - /** |
|
20 | - * The method. |
|
21 | - * |
|
22 | - * @var string |
|
23 | - */ |
|
24 | - protected $method; |
|
19 | + /** |
|
20 | + * The method. |
|
21 | + * |
|
22 | + * @var string |
|
23 | + */ |
|
24 | + protected $method; |
|
25 | 25 | |
26 | - /** |
|
27 | - * Constructor. |
|
28 | - * |
|
29 | - * @param string $method |
|
30 | - * @param int $code |
|
31 | - * @param Throwable|null $previous |
|
32 | - */ |
|
33 | - public function __construct($method, $code = 0, Throwable $previous = null) |
|
34 | - { |
|
35 | - $this->method = $method; |
|
26 | + /** |
|
27 | + * Constructor. |
|
28 | + * |
|
29 | + * @param string $method |
|
30 | + * @param int $code |
|
31 | + * @param Throwable|null $previous |
|
32 | + */ |
|
33 | + public function __construct($method, $code = 0, Throwable $previous = null) |
|
34 | + { |
|
35 | + $this->method = $method; |
|
36 | 36 | |
37 | - parent::__construct("Method $method does not exist.", $code, $previous); |
|
38 | - } |
|
37 | + parent::__construct("Method $method does not exist.", $code, $previous); |
|
38 | + } |
|
39 | 39 | |
40 | - /** |
|
41 | - * Get the method. |
|
42 | - * |
|
43 | - * @return string |
|
44 | - */ |
|
45 | - public function getMethod(): string |
|
46 | - { |
|
47 | - return $this->method; |
|
48 | - } |
|
40 | + /** |
|
41 | + * Get the method. |
|
42 | + * |
|
43 | + * @return string |
|
44 | + */ |
|
45 | + public function getMethod(): string |
|
46 | + { |
|
47 | + return $this->method; |
|
48 | + } |
|
49 | 49 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | { |
35 | 35 | $this->method = $method; |
36 | 36 | |
37 | - parent::__construct("Method $method does not exist.", $code, $previous); |
|
37 | + parent::__construct("method $method does not exist.", $code, $previous); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -15,5 +15,5 @@ |
||
15 | 15 | |
16 | 16 | class InvalidTimeZoneException extends BaseInvalidArgumentException implements InvalidArgumentException |
17 | 17 | { |
18 | - // |
|
18 | + // |
|
19 | 19 | } |
@@ -15,5 +15,5 @@ |
||
15 | 15 | |
16 | 16 | class InvalidCastException extends BaseInvalidArgumentException implements InvalidArgumentException |
17 | 17 | { |
18 | - // |
|
18 | + // |
|
19 | 19 | } |
@@ -13,5 +13,5 @@ |
||
13 | 13 | |
14 | 14 | interface RuntimeException extends Exception |
15 | 15 | { |
16 | - // |
|
16 | + // |
|
17 | 17 | } |
@@ -16,34 +16,34 @@ |
||
16 | 16 | |
17 | 17 | class BadFluentSetterException extends BaseBadMethodCallException implements BadMethodCallException |
18 | 18 | { |
19 | - /** |
|
20 | - * The setter. |
|
21 | - * |
|
22 | - * @var string |
|
23 | - */ |
|
24 | - protected $setter; |
|
19 | + /** |
|
20 | + * The setter. |
|
21 | + * |
|
22 | + * @var string |
|
23 | + */ |
|
24 | + protected $setter; |
|
25 | 25 | |
26 | - /** |
|
27 | - * Constructor. |
|
28 | - * |
|
29 | - * @param string $setter |
|
30 | - * @param int $code |
|
31 | - * @param Throwable|null $previous |
|
32 | - */ |
|
33 | - public function __construct($setter, $code = 0, Throwable $previous = null) |
|
34 | - { |
|
35 | - $this->setter = $setter; |
|
26 | + /** |
|
27 | + * Constructor. |
|
28 | + * |
|
29 | + * @param string $setter |
|
30 | + * @param int $code |
|
31 | + * @param Throwable|null $previous |
|
32 | + */ |
|
33 | + public function __construct($setter, $code = 0, Throwable $previous = null) |
|
34 | + { |
|
35 | + $this->setter = $setter; |
|
36 | 36 | |
37 | - parent::__construct(sprintf("Unknown fluent setter '%s'", $setter), $code, $previous); |
|
38 | - } |
|
37 | + parent::__construct(sprintf("Unknown fluent setter '%s'", $setter), $code, $previous); |
|
38 | + } |
|
39 | 39 | |
40 | - /** |
|
41 | - * Get the setter. |
|
42 | - * |
|
43 | - * @return string |
|
44 | - */ |
|
45 | - public function getSetter(): string |
|
46 | - { |
|
47 | - return $this->setter; |
|
48 | - } |
|
40 | + /** |
|
41 | + * Get the setter. |
|
42 | + * |
|
43 | + * @return string |
|
44 | + */ |
|
45 | + public function getSetter(): string |
|
46 | + { |
|
47 | + return $this->setter; |
|
48 | + } |
|
49 | 49 | } |
@@ -15,34 +15,34 @@ |
||
15 | 15 | |
16 | 16 | class BadComparisonUnitException extends UnitException |
17 | 17 | { |
18 | - /** |
|
19 | - * The unit. |
|
20 | - * |
|
21 | - * @var string |
|
22 | - */ |
|
23 | - protected $unit; |
|
18 | + /** |
|
19 | + * The unit. |
|
20 | + * |
|
21 | + * @var string |
|
22 | + */ |
|
23 | + protected $unit; |
|
24 | 24 | |
25 | - /** |
|
26 | - * Constructor. |
|
27 | - * |
|
28 | - * @param string $unit |
|
29 | - * @param int $code |
|
30 | - * @param Throwable|null $previous |
|
31 | - */ |
|
32 | - public function __construct($unit, $code = 0, Throwable $previous = null) |
|
33 | - { |
|
34 | - $this->unit = $unit; |
|
25 | + /** |
|
26 | + * Constructor. |
|
27 | + * |
|
28 | + * @param string $unit |
|
29 | + * @param int $code |
|
30 | + * @param Throwable|null $previous |
|
31 | + */ |
|
32 | + public function __construct($unit, $code = 0, Throwable $previous = null) |
|
33 | + { |
|
34 | + $this->unit = $unit; |
|
35 | 35 | |
36 | - parent::__construct("Bad comparison unit: '$unit'", $code, $previous); |
|
37 | - } |
|
36 | + parent::__construct("Bad comparison unit: '$unit'", $code, $previous); |
|
37 | + } |
|
38 | 38 | |
39 | - /** |
|
40 | - * Get the unit. |
|
41 | - * |
|
42 | - * @return string |
|
43 | - */ |
|
44 | - public function getUnit(): string |
|
45 | - { |
|
46 | - return $this->unit; |
|
47 | - } |
|
39 | + /** |
|
40 | + * Get the unit. |
|
41 | + * |
|
42 | + * @return string |
|
43 | + */ |
|
44 | + public function getUnit(): string |
|
45 | + { |
|
46 | + return $this->unit; |
|
47 | + } |
|
48 | 48 | } |
@@ -16,34 +16,34 @@ |
||
16 | 16 | |
17 | 17 | class UnknownSetterException extends BaseInvalidArgumentException implements BadMethodCallException |
18 | 18 | { |
19 | - /** |
|
20 | - * The setter. |
|
21 | - * |
|
22 | - * @var string |
|
23 | - */ |
|
24 | - protected $setter; |
|
19 | + /** |
|
20 | + * The setter. |
|
21 | + * |
|
22 | + * @var string |
|
23 | + */ |
|
24 | + protected $setter; |
|
25 | 25 | |
26 | - /** |
|
27 | - * Constructor. |
|
28 | - * |
|
29 | - * @param string $setter setter name |
|
30 | - * @param int $code |
|
31 | - * @param Throwable|null $previous |
|
32 | - */ |
|
33 | - public function __construct($setter, $code = 0, Throwable $previous = null) |
|
34 | - { |
|
35 | - $this->setter = $setter; |
|
26 | + /** |
|
27 | + * Constructor. |
|
28 | + * |
|
29 | + * @param string $setter setter name |
|
30 | + * @param int $code |
|
31 | + * @param Throwable|null $previous |
|
32 | + */ |
|
33 | + public function __construct($setter, $code = 0, Throwable $previous = null) |
|
34 | + { |
|
35 | + $this->setter = $setter; |
|
36 | 36 | |
37 | - parent::__construct("Unknown setter '$setter'", $code, $previous); |
|
38 | - } |
|
37 | + parent::__construct("Unknown setter '$setter'", $code, $previous); |
|
38 | + } |
|
39 | 39 | |
40 | - /** |
|
41 | - * Get the setter. |
|
42 | - * |
|
43 | - * @return string |
|
44 | - */ |
|
45 | - public function getSetter(): string |
|
46 | - { |
|
47 | - return $this->setter; |
|
48 | - } |
|
40 | + /** |
|
41 | + * Get the setter. |
|
42 | + * |
|
43 | + * @return string |
|
44 | + */ |
|
45 | + public function getSetter(): string |
|
46 | + { |
|
47 | + return $this->setter; |
|
48 | + } |
|
49 | 49 | } |
@@ -15,5 +15,5 @@ |
||
15 | 15 | |
16 | 16 | class InvalidTypeException extends BaseInvalidArgumentException implements InvalidArgumentException |
17 | 17 | { |
18 | - // |
|
18 | + // |
|
19 | 19 | } |