@@ -17,6 +17,9 @@ |
||
17 | 17 | */ |
18 | 18 | class StingerSoftEntitySearchBundle extends Bundle { |
19 | 19 | |
20 | + /** |
|
21 | + * @param string $env |
|
22 | + */ |
|
20 | 23 | public static function getRequiredBundles($env) { |
21 | 24 | $bundles = array(); |
22 | 25 | $bundles['StingerSoftEntitySearchBundle'] = '\StingerSoft\EntitySearchBundle\StingerSoftEntitySearchBundle'; |
@@ -25,7 +25,6 @@ |
||
25 | 25 | * Tries to create a document from the given object |
26 | 26 | * |
27 | 27 | * @param ObjectManager $manager |
28 | - * @param object $object |
|
29 | 28 | * @return boolean|Document Returns false if no document could be created |
30 | 29 | */ |
31 | 30 | public function getEntity(ObjectManager $manager, Document $document); |
@@ -104,7 +104,7 @@ |
||
104 | 104 | * |
105 | 105 | * @param string $name |
106 | 106 | * Name of the property to set |
107 | - * @param mixed $value |
|
107 | + * @param string[] $value |
|
108 | 108 | * The value of the property |
109 | 109 | */ |
110 | 110 | public function __set($name, $value) { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * |
103 | - * @param FormBuilderInterface|Form $builder |
|
103 | + * @param FormInterface $builder |
|
104 | 104 | * @param FacetSet $facets |
105 | 105 | */ |
106 | 106 | protected function createFacets($builder, FacetSet $facets, array $options, $data) { |
@@ -143,6 +143,9 @@ discard block |
||
143 | 143 | return $choices; |
144 | 144 | } |
145 | 145 | |
146 | + /** |
|
147 | + * @param string $facetType |
|
148 | + */ |
|
146 | 149 | protected function formatFacet($formatter, $facetType, $facet, $count) { |
147 | 150 | $default = $facet . ' (' . $count . ')'; |
148 | 151 | if(!$formatter) { |