@@ -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'; |
@@ -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) { |
@@ -25,9 +25,9 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * |
| 28 | - * @param number $save |
|
| 28 | + * @param integer $save |
|
| 29 | 29 | * Number of expected saves |
| 30 | - * @param number $delete |
|
| 30 | + * @param integer $delete |
|
| 31 | 31 | * Number of expected deletions |
| 32 | 32 | */ |
| 33 | 33 | protected function registerDoctrineListener($save = 0, $delete = 0) { |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * |
| 53 | - * @param number $save |
|
| 53 | + * @param integer $save |
|
| 54 | 54 | * Number of expected saves |
| 55 | - * @param number $delete |
|
| 55 | + * @param integer $delete |
|
| 56 | 56 | * Number of expected deletions |
| 57 | 57 | */ |
| 58 | 58 | protected function registerSearchService($save = 0, $delete = 0) { |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Tries to create a document from the given object |
| 25 | 25 | * |
| 26 | - * @param object $object |
|
| 27 | 26 | * @return boolean|Document Returns false if no document could be created |
| 28 | 27 | */ |
| 29 | 28 | public function getEntity(Document $document); |
@@ -137,7 +137,7 @@ |
||
| 137 | 137 | /** |
| 138 | 138 | * Fetches the mapping for the given object including the mapping of superclasses |
| 139 | 139 | * |
| 140 | - * @param object $object |
|
| 140 | + * @param string $clazz |
|
| 141 | 141 | * @return \StingerSoft\EntitySearchBundle\Services\string[string] |
| 142 | 142 | */ |
| 143 | 143 | protected function getMapping($clazz) { |