Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | interface Swift_Encoder extends Swift_Mime_CharsetObserver |
||
|
|||
17 | { |
||
18 | /** |
||
19 | * Encode a given string to produce an encoded string. |
||
20 | * |
||
21 | * @param string $string |
||
22 | * @param int $firstLineOffset if first line needs to be shorter |
||
23 | * @param int $maxLineLength - 0 indicates the default length for this encoding |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function encodeString(string $string, int $firstLineOffset = 0, int $maxLineLength = 0); |
||
28 | } |
||
29 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.