@@ -18,6 +18,9 @@ discard block |
||
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | + * @param integer $major |
|
| 22 | + * @param integer $minor |
|
| 23 | + * @param integer $patch |
|
| 21 | 24 | * @return bool |
| 22 | 25 | */ |
| 23 | 26 | public static function isKernelLessThan($major, $minor = null, $patch = null) |
@@ -26,6 +29,7 @@ discard block |
||
| 26 | 29 | } |
| 27 | 30 | |
| 28 | 31 | /** |
| 32 | + * @param string $operator |
|
| 29 | 33 | * @return bool |
| 30 | 34 | */ |
| 31 | 35 | private static function kernelVersionCompare($operator, $major, $minor = null, $patch = null) |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\ArticleBundle\Router; |
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\NodeBundle\Router\SlugRouter; |
| 6 | -use Symfony\Component\Routing\Route; |
|
| 7 | 6 | use Symfony\Component\Routing\RouteCollection; |
| 8 | 7 | use Symfony\Component\Translation\TranslatorInterface; |
| 9 | 8 | |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | protected $em; |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @param EngineInterface $templating |
|
| 26 | 25 | * @param EntityManagerInterface $em |
| 27 | 26 | */ |
| 28 | 27 | public function __construct(/* EngineInterface|EntityManagerInterface */ $em, EntityManagerInterface $emOld = null) |
@@ -39,7 +39,6 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @param EntityManagerInterface|null $em |
| 42 | - * @param PdfTransformer|null $mediaManager |
|
| 43 | 42 | */ |
| 44 | 43 | public function __construct(/* EntityManagerInterface */ $em = null, /* PdfTransformer */ $pdfTransformer = null, $webRoot = null, $enablePdfPreview = null) |
| 45 | 44 | { |
@@ -49,8 +49,8 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @param $command |
|
| 53 | - * @param $error |
|
| 52 | + * @param \Symfony\Component\Console\Command\Command $command |
|
| 53 | + * @param \Throwable $error |
|
| 54 | 54 | */ |
| 55 | 55 | private function logCommandError($command, $error) |
| 56 | 56 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanFormExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanFormExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | * Call this method from within your test after you have (optionally) modified the ContainerBuilder for this test |
| 12 | 12 | * ($this->container). |
| 13 | 13 | * |
| 14 | - * @param array $specificConfiguration |
|
| 15 | 14 | */ |
| 16 | 15 | protected function load(array $configurationValues = array()) |
| 17 | 16 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class KunstmaanAdminExtensionTest extends AbstractPrependableExtensionTestCase |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @return ExtensionInterface[] |
|
| 15 | + * @return KunstmaanAdminExtension[] |
|
| 16 | 16 | */ |
| 17 | 17 | protected function getContainerExtensions() |
| 18 | 18 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * Return alc provider mock |
| 160 | 160 | * |
| 161 | - * @return AclProviderInterface |
|
| 161 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 162 | 162 | */ |
| 163 | 163 | public function getAclProvider() |
| 164 | 164 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * Return security token storage |
| 170 | 170 | * |
| 171 | - * @return TokenStorageInterface |
|
| 171 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 172 | 172 | */ |
| 173 | 173 | public function getTokenStorage() |
| 174 | 174 | { |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | /** |
| 179 | 179 | * Return oid retrieval strategy mock |
| 180 | 180 | * |
| 181 | - * @return ObjectIdentityRetrievalStrategyInterface |
|
| 181 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 182 | 182 | */ |
| 183 | 183 | public function getOidRetrievalStrategy() |
| 184 | 184 | { |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | /** |
| 189 | 189 | * Return event dispatcher mock |
| 190 | 190 | * |
| 191 | - * @return EventDispatcherInterface |
|
| 191 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 192 | 192 | */ |
| 193 | 193 | public function getEventDispatcher() |
| 194 | 194 | { |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
| 207 | - * @return KernelInterface |
|
| 207 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 208 | 208 | */ |
| 209 | 209 | public function getKernel() |
| 210 | 210 | { |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | /** |
| 267 | 267 | * Return entity mock |
| 268 | 268 | * |
| 269 | - * @return AbstractEntity |
|
| 269 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 270 | 270 | */ |
| 271 | 271 | public function getEntity() |
| 272 | 272 | { |