@@ -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 | { |
@@ -57,6 +57,7 @@ |
||
57 | 57 | * @param string $origin |
58 | 58 | * @param string $target |
59 | 59 | * @param boolean $permanent |
60 | + * @param null|string $domain |
|
60 | 61 | * |
61 | 62 | * @return Redirect |
62 | 63 | */ |
@@ -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 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
6 | 6 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
7 | 7 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
8 | -use Kunstmaan\NodeSearchBundle\Helper\ElasticSearchUtil; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * This is the class that validates and merges configuration from your app/config files |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Tests\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use FOS\UserBundle\Model\GroupInterface; |
8 | - |
|
9 | 7 | use Kunstmaan\AdminBundle\Entity\User; |
10 | 8 | |
11 | 9 | /** |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Box\Spout\Common\Type; |
6 | 6 | use Kunstmaan\AdminListBundle\AdminList\ExportableInterface; |
7 | 7 | use Kunstmaan\AdminListBundle\Service\ExportService; |
8 | -use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * Generated by PHPUnit_SkeletonGenerator on 2015-03-19 at 09:56:53. |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Symfony\Component\EventDispatcher\EventDispatcher; |
9 | 9 | use Symfony\Component\Form\FormBuilder; |
10 | 10 | use Symfony\Component\Form\Forms; |
11 | - |
|
12 | 11 | use Symfony\Component\OptionsResolver\OptionsResolver; |
13 | 12 | |
14 | 13 | /** |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * Get an array of fields that need to be added to the entity. |
398 | 398 | * |
399 | 399 | * @param BundleInterface $bundle |
400 | - * @param array $reservedFields |
|
400 | + * @param string[] $reservedFields |
|
401 | 401 | * |
402 | 402 | * @return array |
403 | 403 | */ |
@@ -575,7 +575,7 @@ discard block |
||
575 | 575 | * |
576 | 576 | * @param bool $niceNames |
577 | 577 | * |
578 | - * @return array |
|
578 | + * @return string[] |
|
579 | 579 | */ |
580 | 580 | private function getTypes($niceNames = false) |
581 | 581 | { |
@@ -603,7 +603,7 @@ discard block |
||
603 | 603 | /** |
604 | 604 | * Get all available media types. |
605 | 605 | * |
606 | - * @return array |
|
606 | + * @return string[] |
|
607 | 607 | */ |
608 | 608 | private function getMediaTypes() |
609 | 609 | { |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | * |
625 | 625 | * @param BundleInterface $bundle |
626 | 626 | * @param $objectName |
627 | - * @param $prefix |
|
627 | + * @param string $prefix |
|
628 | 628 | * @param $name |
629 | 629 | * @param $type |
630 | 630 | * @param null $extra |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * Returns a list of namespaces as array with a forward slash to split the namespace & bundle. |
148 | 148 | * |
149 | 149 | * @param Kernel $kernel |
150 | - * @return array |
|
150 | + * @return \Symfony\Component\Console\Question\iterable|null |
|
151 | 151 | */ |
152 | 152 | private function getNamespaceAutoComplete(Kernel $kernel) |
153 | 153 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * Replaces '\' with '/'. |
164 | 164 | * |
165 | 165 | * @param $namespace |
166 | - * @return mixed |
|
166 | + * @return string |
|
167 | 167 | */ |
168 | 168 | private function fixNamespace($namespace) |
169 | 169 | { |