@@ -98,7 +98,6 @@ |
||
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | 100 | * List top edits by this user for all pages in a particular namespace. |
| 101 | - * @param string $username |
|
| 102 | 101 | * @param string $project |
| 103 | 102 | * @param integer $namespace |
| 104 | 103 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -37,6 +37,9 @@ |
||
| 37 | 37 | return $this->getDatabaseName(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @return string |
|
| 42 | + */ |
|
| 40 | 43 | public function getDatabaseName() |
| 41 | 44 | { |
| 42 | 45 | return $this->getMetadata()['dbname']; |
@@ -61,6 +61,6 @@ |
||
| 61 | 61 | public function userRightsUrl(Project $project) |
| 62 | 62 | { |
| 63 | 63 | return $project->getUrl() . $project->getScriptPath() . "?title=Special:UserRights&user=" . |
| 64 | - $this->getUsername(); |
|
| 64 | + $this->getUsername(); |
|
| 65 | 65 | } |
| 66 | 66 | } |