@@ -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 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\Common\Cache\Cache; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\Toolbar\AbstractDataCollector; |
7 | 7 | use Kunstmaan\AdminBundle\Helper\VersionCheck\VersionChecker; |
8 | -use Monolog\Logger; |
|
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | use Symfony\Component\HttpFoundation\Response; |
11 | 10 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * Get Twig functions defined in this extension. |
25 | 25 | * |
26 | - * @return array |
|
26 | + * @return Twig_SimpleFunction[] |
|
27 | 27 | */ |
28 | 28 | public function getFunctions() |
29 | 29 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | private $template; |
30 | 30 | |
31 | 31 | /** |
32 | - * @param array $url The url path and parameters |
|
32 | + * @param string[] $url The url path and parameters |
|
33 | 33 | * @param string $label The label |
34 | 34 | * @param string $icon The icon |
35 | 35 | * @param string $template The template |
@@ -103,6 +103,9 @@ discard block |
||
103 | 103 | return true; |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param \stdClass $item |
|
108 | + */ |
|
106 | 109 | public function getAliasObj($item) |
107 | 110 | { |
108 | 111 | $relation = $this->alias->getRelation(); |
@@ -115,6 +118,9 @@ discard block |
||
115 | 118 | return $item; |
116 | 119 | } |
117 | 120 | |
121 | + /** |
|
122 | + * @param string $column |
|
123 | + */ |
|
118 | 124 | public function getColumnName($column) |
119 | 125 | { |
120 | 126 | $abbr = $this->alias->getAbbr().'.'; |
@@ -9,8 +9,8 @@ |
||
9 | 9 | { |
10 | 10 | /** |
11 | 11 | * FieldAlias constructor. |
12 | - * @param $abbr string |
|
13 | - * @param $relation string |
|
12 | + * @param string $abbr string |
|
13 | + * @param string $relation string |
|
14 | 14 | */ |
15 | 15 | public function __construct($abbr, $relation) |
16 | 16 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param mixed $item |
|
63 | + * @param \stdClass $item |
|
64 | 64 | * |
65 | 65 | * @return string |
66 | 66 | */ |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param mixed $item |
|
73 | + * @param \stdClass $item |
|
74 | 74 | * |
75 | 75 | * @return string |
76 | 76 | */ |