@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * Set the summary of this article |
| 50 | - * @param $summary |
|
| 50 | + * @param string $summary |
|
| 51 | 51 | */ |
| 52 | 52 | public function setSummary($summary) |
| 53 | 53 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @return array |
|
| 89 | + * @return AbstractArticlePagePagePartAdminConfigurator[] |
|
| 90 | 90 | */ |
| 91 | 91 | public function getPagePartAdminConfigurations() |
| 92 | 92 | { |
@@ -19,6 +19,11 @@ discard block |
||
| 19 | 19 | /** @var EntityRepository */ |
| 20 | 20 | private $repo; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $locale |
|
| 24 | + * @param string $permission |
|
| 25 | + * @param \PHPUnit_Framework_MockObject_MockObject $repo |
|
| 26 | + */ |
|
| 22 | 27 | public function __construct(EntityManager $em, AclHelper $aclHelper, $locale, $permission, $repo) |
| 23 | 28 | { |
| 24 | 29 | parent::__construct($em, $aclHelper, $locale, $permission); |
@@ -26,7 +31,7 @@ discard block |
||
| 26 | 31 | } |
| 27 | 32 | |
| 28 | 33 | /** |
| 29 | - * @return bool |
|
| 34 | + * @return EntityRepository |
|
| 30 | 35 | */ |
| 31 | 36 | public function getOverviewPageRepository() |
| 32 | 37 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanArticleExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanArticleExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -59,7 +59,6 @@ discard block |
||
| 59 | 59 | * @param AuthorizationCheckerInterface $authorizationChecker |
| 60 | 60 | * @param EntityManagerInterface $em |
| 61 | 61 | * @param array $configuration |
| 62 | - * @param ContainerInterface $container |
|
| 63 | 62 | * @param FormFactoryInterface $formFactory |
| 64 | 63 | */ |
| 65 | 64 | public function __construct( |
@@ -94,7 +93,7 @@ discard block |
||
| 94 | 93 | * @param Request $request |
| 95 | 94 | * @param string $internalName |
| 96 | 95 | * |
| 97 | - * @return array|RedirectResponse |
|
| 96 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 98 | 97 | */ |
| 99 | 98 | public function indexAction(Request $request, $internalName) |
| 100 | 99 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanConfigExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanConfigExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * |
| 158 | 158 | * @param integer $config |
| 159 | 159 | * |
| 160 | - * @return AnalyticsTopReferrals |
|
| 160 | + * @return AnalyticsOverview |
|
| 161 | 161 | */ |
| 162 | 162 | public function setConfig($config) |
| 163 | 163 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | * |
| 182 | 182 | * @param integer $segment |
| 183 | 183 | * |
| 184 | - * @return AnalyticsTopReferrals |
|
| 184 | + * @return AnalyticsOverview |
|
| 185 | 185 | */ |
| 186 | 186 | public function setSegment($segment) |
| 187 | 187 | { |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | /** |
| 195 | 195 | * Set goals |
| 196 | 196 | * |
| 197 | - * @param array $goals |
|
| 197 | + * @param AnalyticsGoal[] $goals |
|
| 198 | 198 | * @return $this |
| 199 | 199 | */ |
| 200 | 200 | public function setGoals($goals) |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | /** |
| 495 | 495 | * Get useYear |
| 496 | 496 | * |
| 497 | - * @return integer |
|
| 497 | + * @return boolean |
|
| 498 | 498 | */ |
| 499 | 499 | public function getUseYear() |
| 500 | 500 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanDashboardExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanDashboardExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanFixturesExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanFixturesExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * https://gist.github.com/1331789 |
| 41 | 41 | * |
| 42 | - * @return \Doctrine\ORM\EntityManager |
|
| 42 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 43 | 43 | */ |
| 44 | 44 | protected function getMockedEntityManager() |
| 45 | 45 | { |