@@ -55,6 +55,9 @@ discard block |
||
| 55 | 55 | return true; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @param integer $pos |
|
| 60 | + */ |
|
| 58 | 61 | public function replaceRepresentation(Representation $rep, $pos = null) |
| 59 | 62 | { |
| 60 | 63 | if (null === $pos) { |
@@ -74,6 +77,9 @@ discard block |
||
| 74 | 77 | } |
| 75 | 78 | } |
| 76 | 79 | |
| 80 | + /** |
|
| 81 | + * @param string $name |
|
| 82 | + */ |
|
| 77 | 83 | public function getRepresentation($name) |
| 78 | 84 | { |
| 79 | 85 | if (isset($this->representations[$name])) { |
@@ -85,6 +85,9 @@ |
||
| 85 | 85 | $this->setValues($value); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param integer $variant |
|
| 90 | + */ |
|
| 88 | 91 | public function hasAlpha($variant = null) |
| 89 | 92 | { |
| 90 | 93 | if (null === $variant) { |
@@ -147,6 +147,9 @@ |
||
| 147 | 147 | return "<a {$class}href=\"{$ideLink}\">{$shortenedPath}:{$line}</a>"; |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | + /** |
|
| 151 | + * @param string $string |
|
| 152 | + */ |
|
| 150 | 153 | public function escape($string, $encoding = false) |
| 151 | 154 | { |
| 152 | 155 | if (false === $encoding) { |