@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * Display the Edit Summary results |
| 71 | 71 | * |
| 72 | 72 | * @param Request $request The HTTP request. |
| 73 | - * @param string $namespace Namespace ID or 'all' for all namespaces. |
|
| 73 | + * @param integer $namespace Namespace ID or 'all' for all namespaces. |
|
| 74 | 74 | * |
| 75 | 75 | * @Route("/editsummary/{project}/{username}/{namespace}", name="EditSummaryResult") |
| 76 | 76 | * |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | * Get basic stats on the edit summary usage of a user. |
| 111 | 111 | * @Route("/api/user/edit_summaries/{project}/{username}/{namespace}", name="UserApiEditSummaries") |
| 112 | 112 | * @param Request $request The HTTP request. |
| 113 | - * @param string $namespace Namespace ID or 'all' for all namespaces. |
|
| 113 | + * @param integer $namespace Namespace ID or 'all' for all namespaces. |
|
| 114 | 114 | * @return Response |
| 115 | 115 | * @codeCoverageIgnore |
| 116 | 116 | */ |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace AppBundle\Controller; |
| 7 | 7 | |
| 8 | -use Doctrine\DBAL\Connection; |
|
| 9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 10 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 11 | 10 | use Symfony\Component\HttpFoundation\Request; |