1 | <?php |
||
7 | abstract class WriterAbstract |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @param Flagbit\Plantuml\TokenReflection\WriterOptions $writerOptions |
||
12 | */ |
||
13 | public function __construct(WriterOptions $writerOptions=null) |
||
21 | /** |
||
22 | 10 | * @var string |
|
23 | */ |
||
24 | 10 | private $indent = ' '; |
|
25 | 10 | ||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $linebreak = "\n"; |
||
30 | |||
31 | 10 | /** |
|
32 | * @var Flagbit\Plantuml\TokenReflection\WriterOptions |
||
33 | 10 | */ |
|
34 | protected $writerOptions = null; |
||
35 | |||
36 | /** |
||
37 | * @param string $indent |
||
38 | */ |
||
39 | protected function setIndent($indent = ' ') |
||
43 | 3 | ||
44 | 3 | /** |
|
45 | * @param string $string |
||
46 | * @return string |
||
47 | */ |
||
48 | public function formatLine($string) |
||
52 | |||
53 | /** |
||
54 | * @param \TokenReflection\IReflectionClass $declaringClass The class using the namespace aliases |
||
55 | * @param string $aliasedClassName The class name used in the declaring class |
||
56 | * @return string |
||
57 | 10 | */ |
|
58 | protected function expandNamespaceAlias(IReflectionClass $declaringClass, $aliasedClassName) |
||
69 | |||
70 | 4 | /** |
|
71 | * @param string $className |
||
72 | 4 | * @return string |
|
73 | */ |
||
74 | protected function formatClassName($className) |
||
82 | 4 | ||
83 | /** |
||
84 | 3 | * @param mixed $value |
|
85 | 4 | * @return string |
|
86 | 3 | */ |
|
87 | 3 | protected function formatValue($value) |
|
117 | } |
||
118 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..