@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Personnage\Tinkoff\SDK\Event; |
| 4 | 4 | |
| 5 | -use Psr\Http\Message\RequestInterface; |
|
| 6 | 5 | use Personnage\Tinkoff\SDK\Exception\HttpException; |
| 6 | +use Psr\Http\Message\RequestInterface; |
|
| 7 | 7 | |
| 8 | 8 | final class FailureEvent extends Event |
| 9 | 9 | { |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * Get a payment card instance if card id is exists. |
| 58 | 58 | * |
| 59 | - * @return PaymentCard|null |
|
| 59 | + * @return \self|null |
|
| 60 | 60 | */ |
| 61 | 61 | public function getPaymentCard() |
| 62 | 62 | { |
@@ -88,6 +88,7 @@ discard block |
||
| 88 | 88 | * Get all of the given instance except for a specified array of keys. |
| 89 | 89 | * |
| 90 | 90 | * @param array ...$values |
| 91 | + * @param string $values |
|
| 91 | 92 | * @return self |
| 92 | 93 | */ |
| 93 | 94 | public static function except(...$values) |
@@ -112,7 +113,7 @@ discard block |
||
| 112 | 113 | /** |
| 113 | 114 | * Determine if a value exists at an offset. |
| 114 | 115 | * |
| 115 | - * @param mixed $key |
|
| 116 | + * @param string $key |
|
| 116 | 117 | * @return bool |
| 117 | 118 | */ |
| 118 | 119 | public function offsetExists($key) |