Variant
last analyzed

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 2
c 0
b 0
f 0
1
<?php
2
3
    namespace NokitaKaze\Serializer;
4
5
    /**
6
     * Interface Variant
7
     * @package NokitaKaze\Serializer
8
     *
9
     * @property integer $type
10
     * @property mixed   $value
11
     */
12
    interface Variant {
13
    }
14
15
    /**
16
     * Interface Variant
17
     * @package NokitaKaze\Serializer
18
     *
19
     * @property Variant[] $keys
20
     * @property Variant[] $value
21
     */
22
    interface KeyValueVariant extends Variant {
23
    }
24
25
    /**
26
     * Interface Variant
27
     * @package NokitaKaze\Serializer
28
     *
29
     * @property string $class_FQDN
30
     */
31
    interface SerializableVariant extends Variant {
32
    }
33
34
?>
0 ignored issues
show
Best Practice introduced by
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...