Issues (104)

src/Spec/Encoding.php (6 issues)

1
<?php
2
3
4
namespace Apie\OpenapiSchema\Spec;
5
6
use Apie\OpenapiSchema\Concerns\CompositeValueObjectWithExtension;
7
use Apie\OpenapiSchema\Map\HeaderMap;
8
use Apie\ValueObjects\ValueObjectInterface;
9
10
/**
11
 * @see https://swagger.io/specification/#encoding-object
12
 */
13
class Encoding implements ValueObjectInterface
14
{
15
    use CompositeValueObjectWithExtension;
0 ignored issues
show
The trait Apie\OpenapiSchema\Conce...alueObjectWithExtension requires the property $name which is not provided by Apie\OpenapiSchema\Spec\Encoding.
Loading history...
16
17
    /**
18
     * @var string|null
19
     */
20
    private $contentType;
0 ignored issues
show
The private property $contentType is not used, and could be removed.
Loading history...
21
22
    /**
23
     * @var HeaderMap|null
24
     */
25
    private $headers;
0 ignored issues
show
The private property $headers is not used, and could be removed.
Loading history...
26
27
    /**
28
     * @var string|null
29
     */
30
    private $style;
0 ignored issues
show
The private property $style is not used, and could be removed.
Loading history...
31
32
    /**
33
     * @var bool|null
34
     */
35
    private $explode;
0 ignored issues
show
The private property $explode is not used, and could be removed.
Loading history...
36
37
    /**
38
     * @var bool|null
39
     */
40
    private $allowReserved;
0 ignored issues
show
The private property $allowReserved is not used, and could be removed.
Loading history...
41
}
42