Completed
Pull Request — 5.0 (#2160)
by
unknown
11:38
created
src/Kunstmaan/MultiDomainBundle/Twig/MultiDomainTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Get Twig functions defined in this extension.
31 31
      *
32
-     * @return array
32
+     * @return \Twig_SimpleFunction[]
33 33
      */
34 34
     public function getFunctions()
35 35
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Entity/HasNodeInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\NodeBundle\Entity;
4 4
 
5 5
 use Kunstmaan\AdminBundle\Entity\EntityInterface;
6
-use Symfony\Component\Form\AbstractType;
7 6
 
8 7
 /**
9 8
  * HasNodeInterface Interface
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/URLHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface;
7 7
 use Kunstmaan\NodeBundle\Validation\URLValidator;
8 8
 use Psr\Log\LoggerInterface;
9
-use Symfony\Component\HttpFoundation\RequestStack;
10 9
 use Symfony\Component\Routing\RouterInterface;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Twig/NodeTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns a list of functions to add to the existing list.
19 19
      *
20
-     * @return array An array of functions
20
+     * @return \Twig_SimpleFunction[] An array of functions
21 21
      */
22 22
     public function getFunctions()
23 23
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeSearchBundle/Twig/KunstmaanNodeSearchTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns a list of functions to add to the existing list.
19 19
      *
20
-     * @return array An array of functions
20
+     * @return \Twig_SimpleFunction[] An array of functions
21 21
      */
22 22
     public function getFunctions()
23 23
     {
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Twig/Extension/PageTemplateTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @return array
29
+     * @return \Twig_SimpleFunction[]
30 30
      */
31 31
     public function getFunctions()
32 32
     {
Please login to merge, or discard this patch.
src/Kunstmaan/RedirectBundle/Router/RedirectRouter.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param string $name The name of the route
56 56
      * @param mixed $parameters An array of parameters
57
-     * @param Boolean|string $referenceType The type of reference to be generated (one of the constants)
57
+     * @param integer $referenceType The type of reference to be generated (one of the constants)
58 58
      *
59 59
      * @return string The generated URL
60 60
      *
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
     /**
138 138
      * @param Redirect $redirect
139
-     * @return bool
139
+     * @return string|false
140 140
      */
141 141
     private function isWildcardRedirect(Redirect $redirect)
142 142
     {
@@ -148,6 +148,9 @@  discard block
 block discarded – undo
148 148
         return false;
149 149
     }
150 150
 
151
+    /**
152
+     * @param string $matchSegment
153
+     */
151 154
     private function isPathInfoWildcardMatch($matchSegment)
152 155
     {
153 156
         $path = $this->context->getPathInfo();
Please login to merge, or discard this patch.
src/Kunstmaan/SitemapBundle/Twig/SitemapTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns a list of functions to add to the existing list.
19 19
      *
20
-     * @return array An array of functions
20
+     * @return \Twig_SimpleFunction[] An array of functions
21 21
      */
22 22
     public function getFunctions()
23 23
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Controller/TranslatorController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Symfony\Component\HttpFoundation\RedirectResponse;
19 19
 use Symfony\Component\HttpFoundation\Request;
20 20
 use Symfony\Component\HttpFoundation\Response;
21
-use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
22 21
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
23 22
 use Symfony\Component\Translation\TranslatorInterface;
24 23
 
Please login to merge, or discard this patch.