Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
28 | class BasicSearchSchema implements XmlSerializable { |
||
29 | /** @var PropDesc[] */ |
||
30 | public $properties; |
||
31 | |||
32 | /** |
||
33 | * BasicSearchSchema constructor. |
||
34 | * |
||
35 | * @param PropDesc[] $properties |
||
36 | */ |
||
37 | public function __construct(array $properties) { |
||
39 | } |
||
40 | |||
41 | function xmlSerialize(Writer $writer) { |
||
51 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.