@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | /** |
61 | 61 | * |
62 | - * @return array |
|
62 | + * @return string[] |
|
63 | 63 | */ |
64 | 64 | public function __sleep() |
65 | 65 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanTaggingExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanTaggingExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return array |
|
24 | + * @return string[] |
|
25 | 25 | */ |
26 | 26 | public function getAccessRoles() |
27 | 27 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanUserManagementExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanUserManagementExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanUtilitiesExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanUtilitiesExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | class MaxNumberByIpEventListenerTest extends \PHPUnit_Framework_TestCase |
14 | 14 | { |
15 | 15 | /** |
16 | - * @param $returnNull |
|
16 | + * @param boolean $returnNull |
|
17 | 17 | * @param int $voteNumber |
18 | 18 | * @return \Kunstmaan\VotingBundle\Services\RepositoryResolver |
19 | 19 | */ |
@@ -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 | { |
@@ -490,6 +490,9 @@ discard block |
||
490 | 490 | return true; |
491 | 491 | } |
492 | 492 | |
493 | + /** |
|
494 | + * @param string $file |
|
495 | + */ |
|
493 | 496 | protected function load($file, $lazyLoad = true) |
494 | 497 | { |
495 | 498 | return require $file; |
@@ -1131,6 +1134,9 @@ discard block |
||
1131 | 1134 | |
1132 | 1135 | private $normalizedParameterNames = array(); |
1133 | 1136 | |
1137 | + /** |
|
1138 | + * @param string $name |
|
1139 | + */ |
|
1134 | 1140 | private function normalizeParameterName($name) |
1135 | 1141 | { |
1136 | 1142 | if (isset($this->normalizedParameterNames[$normalizedName = strtolower($name)]) || isset($this->parameters[$normalizedName]) || array_key_exists($normalizedName, $this->parameters)) { |
@@ -490,6 +490,9 @@ discard block |
||
490 | 490 | return true; |
491 | 491 | } |
492 | 492 | |
493 | + /** |
|
494 | + * @param string $file |
|
495 | + */ |
|
493 | 496 | protected function load($file, $lazyLoad = true) |
494 | 497 | { |
495 | 498 | return require $file; |
@@ -1131,6 +1134,9 @@ discard block |
||
1131 | 1134 | |
1132 | 1135 | private $normalizedParameterNames = array(); |
1133 | 1136 | |
1137 | + /** |
|
1138 | + * @param string $name |
|
1139 | + */ |
|
1134 | 1140 | private function normalizeParameterName($name) |
1135 | 1141 | { |
1136 | 1142 | if (isset($this->normalizedParameterNames[$normalizedName = strtolower($name)]) || isset($this->parameters[$normalizedName]) || array_key_exists($normalizedName, $this->parameters)) { |