@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * Get metadata about a single page from the API. |
20 | 20 | * @param Project $project The project to which the page belongs. |
21 | 21 | * @param string $pageTitle Page title. |
22 | - * @return string[] Array with some of the following keys: pageid, title, missing, displaytitle, |
|
22 | + * @return string|null Array with some of the following keys: pageid, title, missing, displaytitle, |
|
23 | 23 | * url. |
24 | 24 | */ |
25 | 25 | public function getPageInfo(Project $project, $pageTitle) |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | * @param int $numRevisions Number of revisions, if known. This is used solely to determine the |
136 | 136 | * OFFSET if we are given a $limit (see below). If $limit is set and $numRevisions is not set, |
137 | 137 | * a separate query is ran to get the nuber of revisions. |
138 | - * @return Doctrine\DBAL\Driver\PDOStatement |
|
138 | + * @return \Doctrine\DBAL\Driver\Statement |
|
139 | 139 | */ |
140 | 140 | public function getRevisionsStmt(Page $page, User $user = null, $limit = null, $numRevisions = null) |
141 | 141 | { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * @param Request $request The HTTP request. |
156 | 156 | * @param User $user The User. |
157 | 157 | * @param Project $project The project. |
158 | - * @param integer|string $namespace The namespace ID or 'all' |
|
158 | + * @param integer $namespace The namespace ID or 'all' |
|
159 | 159 | * @return \Symfony\Component\HttpFoundation\Response |
160 | 160 | */ |
161 | 161 | public function namespaceTopEdits(Request $request, User $user, Project $project, $namespace) |