1 | <?php |
||
16 | class Card extends Entity |
||
17 | { |
||
18 | use \Teto\Object\TypedProperty; |
||
19 | |||
20 | private static $property_types = [ |
||
|
|||
21 | 'url' => 'string', |
||
22 | 'title' => 'string', |
||
23 | 'description' => 'string', |
||
24 | ]; |
||
25 | |||
26 | 2 | public function __construct(array $properties) |
|
30 | |||
31 | /** |
||
32 | * Returns attachment data as array |
||
33 | * |
||
34 | * @return array |
||
35 | */ |
||
36 | 2 | public function toArray() |
|
44 | } |
||
45 |
This check marks private properties in classes that are never used. Those properties can be removed.