@@ -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 | } |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * List top edits by this user for all pages in a particular namespace. |
| 112 | 112 | * @param User $user The User. |
| 113 | 113 | * @param Project $project The project. |
| 114 | - * @param integer|string $namespace The namespace ID or 'all' |
|
| 114 | + * @param integer $namespace The namespace ID or 'all' |
|
| 115 | 115 | * @return \Symfony\Component\HttpFoundation\Response |
| 116 | 116 | */ |
| 117 | 117 | protected function namespaceTopEdits(User $user, Project $project, $namespace) |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | /** @var string[] Basic metadata about the project */ |
| 15 | 15 | protected $metadata; |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $nameOrUrl |
|
| 19 | + */ |
|
| 17 | 20 | public function __construct($nameOrUrl) |
| 18 | 21 | { |
| 19 | 22 | $this->nameUnnormalized = $nameOrUrl; |