Completed
Pull Request — 3.6 (#1940)
by Sander
12:35 queued 11s
created
src/Kunstmaan/SearchBundle/Search/AnalysisFactoryInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Kunstmaan/SearchBundle/Search/Search.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @inheritdoc
61
+     * @param string $indexName
61 62
      */
62 63
     public function getIndex($indexName)
63 64
     {
Please login to merge, or discard this patch.
SearchBundle/Tests/DependencyInjection/KunstmaanSearchExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Returns the Configuration to test
34 34
      *
35
-     * @return Configuration
35
+     * @return KunstmaanSearchExtension
36 36
      */
37 37
     protected function getExtension()
38 38
     {
Please login to merge, or discard this patch.
src/Kunstmaan/SeoBundle/Controller/Admin/SettingsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Kunstmaan/SeoBundle/Entity/Seo.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * @param string $title
187 187
      *
188
-     * @return string
188
+     * @return Seo
189 189
      */
190 190
     public function setMetaTitle($title)
191 191
     {
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     }
288 288
 
289 289
     /**
290
-     * @return mixed
290
+     * @return string
291 291
      */
292 292
     public function getOgDescription()
293 293
     {
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     }
308 308
 
309 309
     /**
310
-     * @return mixed
310
+     * @return Media
311 311
      */
312 312
     public function getOgImage()
313 313
     {
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
     }
328 328
 
329 329
     /**
330
-     * @return mixed
330
+     * @return string
331 331
      */
332 332
     public function getOgTitle()
333 333
     {
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
     }
348 348
 
349 349
     /**
350
-     * @return mixed
350
+     * @return string
351 351
      */
352 352
     public function getOgType()
353 353
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\Mapping as ORM;
7
-use Symfony\Component\Validator\Constraints as Assert;
8 7
 use Kunstmaan\AdminBundle\Entity\AbstractEntity;
9 8
 use Kunstmaan\MediaBundle\Entity\Media;
10 9
 use Kunstmaan\SeoBundle\Form\SeoType;
Please login to merge, or discard this patch.
src/Kunstmaan/SeoBundle/Helper/Order.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Kunstmaan/SeoBundle/Twig/GoogleAnalyticsTwigExtension.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Returns a list of functions to add to the existing list.
29 29
      *
30
-     * @return array An array of functions
30
+     * @return \Twig_SimpleFunction[] An array of functions
31 31
      */
32 32
     public function getFunctions()
33 33
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @param array  &$arr   This is modified in place.
132 132
      * @param string $option The key in the $arr array.
133
-     * @param mixed  $value  The new value if the option wasn't set already.
133
+     * @param string  $value  The new value if the option wasn't set already.
134 134
      */
135 135
     private function setOptionIfNotSet(&$arr, $option, $value)
136 136
     {
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,12 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Kunstmaan\SeoBundle\Twig;
4 4
 
5
-use Kunstmaan\SeoBundle\Helper\Order,
6
-    Kunstmaan\SeoBundle\Helper\OrderConverter,
7
-    Kunstmaan\SeoBundle\Helper\OrderPreparer;
8
-
9
-use Twig_Extension,
10
-    Twig_Environment;
5
+use Kunstmaan\SeoBundle\Helper\Order;
6
+use Kunstmaan\SeoBundle\Helper\OrderConverter;
7
+use Kunstmaan\SeoBundle\Helper\OrderPreparer;
8
+use Twig_Extension;
9
+use Twig_Environment;
11 10
 
12 11
 /**
13 12
  * Twig extensions for Google Analytics
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add")
43 43
      * @Method({"GET", "POST"})
44 44
      * @Template("KunstmaanAdminListBundle:Default:add.html.twig")
45
-     * @return array
45
+     * @return \Symfony\Component\HttpFoundation\Response
46 46
      */
47 47
     public function addAction(Request $request)
48 48
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/Tagging.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get createdAt
142 142
      *
143
-     * @return datetime
143
+     * @return \DateTime
144 144
      */
145 145
     public function getCreatedAt()
146 146
     {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * Get updatedAt
162 162
      *
163
-     * @return datetime
163
+     * @return \DateTime
164 164
      */
165 165
     public function getUpdatedAt()
166 166
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DoctrineExtensions\Taggable\Entity\Tag as BaseTag;
6 6
 use DoctrineExtensions\Taggable\Entity\Tagging as BaseTagging;
7
-
8 7
 use Doctrine\ORM\Mapping as ORM;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.