Issues (20)

src/Tracking/Packet/TicketResponse.php (2 issues)

Labels
1
<?php
2
3
/**
4
 * This file is part of RussianPost SDK package.
5
 *
6
 * © Appwilio (http://appwilio.com), greabock (https://github.com/greabock), JhaoDa (https://github.com/jhaoda)
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Appwilio\RussianPostSDK\Tracking\Packet;
15
16
final class TicketResponse
17
{
18
    use ErrorAware;
0 ignored issues
show
The trait Appwilio\RussianPostSDK\Tracking\Packet\ErrorAware requires the property $Error which is not provided by Appwilio\RussianPostSDK\...g\Packet\TicketResponse.
Loading history...
19
20
    /** @var Error|null */
21
    private $error;
0 ignored issues
show
The private property $error is not used, and could be removed.
Loading history...
22
23
    /** @var string */
24
    private $value;
25
26 1
    public function getId(): string
27
    {
28 1
        return $this->value;
29
    }
30
}
31