@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * @Route("/rfxvote/index.php", name="rfxvoteIndexPhp") |
| 40 | 40 | * @Route("/rfxvote", name="RfXVoteCalculator") |
| 41 | 41 | * |
| 42 | - * @return Response |
|
| 42 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 43 | 43 | */ |
| 44 | 44 | public function indexAction() |
| 45 | 45 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * |
| 89 | 89 | * @Route("/rfxvote/{project}/{username}", name="rfxvoteResult") |
| 90 | 90 | * |
| 91 | - * @return Response |
|
| 91 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 92 | 92 | */ |
| 93 | 93 | public function resultAction($project, $username) |
| 94 | 94 | { |
@@ -505,7 +505,7 @@ |
||
| 505 | 505 | /** |
| 506 | 506 | * Get a list of (semi-)automated tools that were used to edit the page, including |
| 507 | 507 | * the number of times they were used, and a link to the tool's homepage. |
| 508 | - * @return mixed[] |
|
| 508 | + * @return string[] |
|
| 509 | 509 | */ |
| 510 | 510 | public function getTools() |
| 511 | 511 | { |
@@ -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 | { |