@@ -9,16 +9,19 @@ |
||
9 | 9 | { |
10 | 10 | /** |
11 | 11 | * Create indexes |
12 | + * @return void |
|
12 | 13 | */ |
13 | 14 | public function createIndex(); |
14 | 15 | |
15 | 16 | /** |
16 | 17 | * Populate the indexes |
18 | + * @return void |
|
17 | 19 | */ |
18 | 20 | public function populateIndex(); |
19 | 21 | |
20 | 22 | /** |
21 | 23 | * Delete indexes |
24 | + * @return void |
|
22 | 25 | */ |
23 | 26 | public function deleteIndex(); |
24 | 27 |
@@ -9,6 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @param SearchProviderInterface $provider |
11 | 11 | * @param string $alias |
12 | + * @return void |
|
12 | 13 | */ |
13 | 14 | public function addProvider(SearchProviderInterface $provider, $alias); |
14 | 15 |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Return the index object |
33 | 33 | * |
34 | - * @param $indexName |
|
34 | + * @param string $indexName |
|
35 | 35 | * |
36 | 36 | * @return mixed |
37 | 37 | */ |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param string $indexName Name of the index |
56 | 56 | * @param string $indexType Type of the index to add the document to |
57 | - * @param array $document The document to index |
|
57 | + * @param string $document The document to index |
|
58 | 58 | * @param string $uid Unique ID for this document, this will allow the document to be overwritten by new data |
59 | 59 | * instead of being duplicated |
60 | 60 | */ |
@@ -48,7 +48,7 @@ |
||
48 | 48 | public function addNGramTokenizer(); |
49 | 49 | |
50 | 50 | /** |
51 | - * @param string $language |
|
51 | + * @return AnalysisFactoryInterface |
|
52 | 52 | */ |
53 | 53 | public function setupLanguage($lang = 'english'); |
54 | 54 | } |
@@ -58,6 +58,7 @@ |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @inheritdoc |
61 | + * @param string $indexName |
|
61 | 62 | */ |
62 | 63 | public function getIndex($indexName) |
63 | 64 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Kunstmaan\SeoBundle\Form\RobotsType; |
9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
11 | - |
|
12 | 11 | use Symfony\Component\HttpFoundation\RedirectResponse; |
13 | 12 | use Symfony\Component\HttpFoundation\Request; |
14 | 13 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\SeoBundle\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |
8 | 7 | use Kunstmaan\AdminBundle\Event\DeepCloneAndSaveEvent; |
9 | 8 | use Kunstmaan\AdminBundle\Helper\CloneHelper; |
@@ -191,7 +191,7 @@ |
||
191 | 191 | /** |
192 | 192 | * Loops over the OrderItems and accumulates the value of the given property. Can also be a getter. |
193 | 193 | * |
194 | - * @param $property |
|
194 | + * @param string $property |
|
195 | 195 | * @return int|string |
196 | 196 | */ |
197 | 197 | private function accumulatePropertyOnOrderItems($property) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\SeoBundle\Repository; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |
8 | 7 | use Kunstmaan\SeoBundle\Entity\Seo; |
9 | 8 | use Kunstmaan\UtilitiesBundle\Helper\ClassLookup; |