@@ -123,6 +123,9 @@ discard block |
||
| 123 | 123 | return $readable ? $readable : $entity; |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | + /** |
|
| 127 | + * @param string $readable |
|
| 128 | + */ |
|
| 126 | 129 | public function formatUser(string $entity, $readable = null) : string |
| 127 | 130 | { |
| 128 | 131 | if ($readable) { |
@@ -137,6 +140,9 @@ discard block |
||
| 137 | 140 | return $entity; |
| 138 | 141 | } |
| 139 | 142 | |
| 143 | + /** |
|
| 144 | + * @param string $readable |
|
| 145 | + */ |
|
| 140 | 146 | public function formatChannel(string $entity, $readable = null) : string |
| 141 | 147 | { |
| 142 | 148 | if ($readable) { |
@@ -84,6 +84,9 @@ discard block |
||
| 84 | 84 | $this->updatePrefixes($authedUser->getUsername()); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param string $text |
|
| 89 | + */ |
|
| 87 | 90 | public function matchesPrefix($prefix, $text) : array |
| 88 | 91 | { |
| 89 | 92 | if ($prefix === self::NO_PREFIX) { |
@@ -195,6 +198,9 @@ discard block |
||
| 195 | 198 | return $this->authedUser; |
| 196 | 199 | } |
| 197 | 200 | |
| 201 | + /** |
|
| 202 | + * @param string $authedUsername |
|
| 203 | + */ |
|
| 198 | 204 | protected function updatePrefixes($authedUsername) |
| 199 | 205 | { |
| 200 | 206 | $updatedPriorityMap = []; |