@@ -4,5 +4,8 @@ |
||
4 | 4 | |
5 | 5 | interface LazyLoadingTaggableInterface extends Taggable |
6 | 6 | { |
7 | + /** |
|
8 | + * @return void |
|
9 | + */ |
|
7 | 10 | public function setTagLoader(\Closure $loader); |
8 | 11 | } |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Kunstmaan\TranslatorBundle\Service\Command; |
3 | 3 | |
4 | -use Doctrine\DBAL\Migrations\Configuration\Configuration, |
|
5 | - Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand, |
|
6 | - Symfony\Component\Console\Input\InputInterface, |
|
7 | - Symfony\Component\Console\Output\OutputInterface; |
|
4 | +use Doctrine\DBAL\Migrations\Configuration\Configuration; |
|
5 | +use Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand; |
|
6 | +use Symfony\Component\Console\Input\InputInterface; |
|
7 | +use Symfony\Component\Console\Output\OutputInterface; |
|
8 | 8 | |
9 | 9 | class DiffCommand extends GenerateCommand |
10 | 10 | { |
@@ -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 | { |
@@ -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 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Return the url to edit the given $item |
78 | 78 | * |
79 | - * @param mixed $item |
|
79 | + * @param \Kunstmaan\FormBundle\Tests\Entity\FakePage $item |
|
80 | 80 | * |
81 | 81 | * @return array |
82 | 82 | */ |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * |
119 | 119 | * @param array $params |
120 | 120 | * |
121 | - * @return array |
|
121 | + * @return string |
|
122 | 122 | */ |
123 | 123 | public function getAddUrlFor(array $params = array()) |
124 | 124 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Configure if it's possible to delete the given $item |
130 | 130 | * |
131 | - * @param mixed $item |
|
131 | + * @param \Kunstmaan\FormBundle\Tests\Entity\FakePage $item |
|
132 | 132 | * |
133 | 133 | * @return bool |
134 | 134 | */ |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Get the delete url for the given $item |
142 | 142 | * |
143 | - * @param mixed $item |
|
143 | + * @param \Kunstmaan\FormBundle\Tests\Entity\FakePage $item |
|
144 | 144 | * |
145 | 145 | * @return array |
146 | 146 | */ |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * Return the url to edit the given $item |
76 | 76 | * |
77 | - * @param mixed $item |
|
77 | + * @param \Kunstmaan\FormBundle\Tests\Entity\FakePage $item |
|
78 | 78 | * |
79 | 79 | * @return array |
80 | 80 | */ |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * Configure if it's possible to delete the given $item |
126 | 126 | * |
127 | - * @param mixed $item |
|
127 | + * @param \Kunstmaan\FormBundle\Tests\Entity\FakePage $item |
|
128 | 128 | * |
129 | 129 | * @return bool |
130 | 130 | */ |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | /** |
148 | 148 | * Get the delete url for the given $item |
149 | 149 | * |
150 | - * @param mixed $item |
|
150 | + * @param \Kunstmaan\FormBundle\Tests\Entity\FakePage $item |
|
151 | 151 | * |
152 | 152 | * @return array |
153 | 153 | */ |
@@ -61,7 +61,6 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * The constructor for this service |
63 | 63 | * |
64 | - * @param ContainerInterface $container |
|
65 | 64 | */ |
66 | 65 | public function __construct( |
67 | 66 | /* DomainConfigurationInterface */ $domainConfiguration, |
@@ -283,6 +282,7 @@ discard block |
||
283 | 282 | } |
284 | 283 | |
285 | 284 | /** |
285 | + * @param string $host |
|
286 | 286 | * @return boolean |
287 | 287 | */ |
288 | 288 | protected function isMultiLanguage($host = null) |
@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | * Bind current request. |
14 | 14 | * |
15 | 15 | * @param Request $request |
16 | + * @return void |
|
16 | 17 | */ |
17 | 18 | public function bindRequest(Request $request); |
18 | 19 | |
@@ -22,7 +23,7 @@ discard block |
||
22 | 23 | public function getLimit(); |
23 | 24 | |
24 | 25 | /** |
25 | - * @return array |
|
26 | + * @return integer[] |
|
26 | 27 | */ |
27 | 28 | public function getLimitOptions(); |
28 | 29 | } |
29 | 30 | \ No newline at end of file |
@@ -78,7 +78,7 @@ |
||
78 | 78 | return $this->limit; |
79 | 79 | } |
80 | 80 | |
81 | - /** @return array */ |
|
81 | + /** @return integer[] */ |
|
82 | 82 | public function getLimitOptions() |
83 | 83 | { |
84 | 84 | return [ |