Completed
Push — 5.1 ( a63100...e86e6d )
by Kristof
65:44 queued 65:35
created
src/Kunstmaan/PagePartBundle/Helper/HasPagePartsInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 interface HasPagePartsInterface
11 11
 {
12
+    /**
13
+     * @return integer
14
+     */
12 15
     public function getId();
13 16
 
14 17
     /**
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Helper/Services/PagePartCreatorService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *                                                A Node instance or the internal name.
74 74
      *                                                When the internal name is passed we'll get the node instance.
75 75
      *                                                Based on the language we'll locate the correct Page instance.
76
-     * @param pagePartInterface   $pagePart
76
+     * @param PagePartInterface   $pagePart
77 77
      *                                                A completely configured pagepart for this language
78 78
      * @param string              $language
79 79
      *                                                The languagecode. nl|fr|en|.. . Just one.
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * @param string $pagePartClassName the full class name of the pagepart you want to instantiate
204 204
      * @param array  $setters           An array of setternames and their values. array('setName' => 'Kim', 'isDeveloper' => true)
205 205
      *
206
-     * @return callable the function that will instantiate a pagepart
206
+     * @return \Closure the function that will instantiate a pagepart
207 207
      */
208 208
     public function getCreatorArgumentsForPagePartAndProperties($pagePartClassName, array $setters = null)
209 209
     {
Please login to merge, or discard this patch.
src/Kunstmaan/PagePartBundle/Twig/Extension/PagePartAdminTwigExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     private $usesExtendedPagePartChooser = false;
13 13
 
14 14
     /**
15
-     * @return array
15
+     * @return \Twig_SimpleFunction[]
16 16
      */
17 17
     public function getFunctions()
18 18
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Get usesExtendedPagePartChooser.
63 63
      *
64
-     * @return usesExtendedPagePartChooser
64
+     * @return boolean
65 65
      */
66 66
     public function getUsesExtendedPagePartChooser()
67 67
     {
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 bool|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
      *
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * @param Redirect $redirect
141 141
      *
142
-     * @return bool
142
+     * @return string|false
143 143
      */
144 144
     private function isWildcardRedirect(Redirect $redirect)
145 145
     {
@@ -152,6 +152,9 @@  discard block
 block discarded – undo
152 152
         return false;
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $matchSegment
157
+     */
155 158
     private function isPathInfoWildcardMatch($matchSegment)
156 159
     {
157 160
         $path = $this->context->getPathInfo();
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.
src/Kunstmaan/SeoBundle/Helper/Order.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
     /**
187 187
      * Loops over the OrderItems and accumulates the value of the given property. Can also be a getter.
188 188
      *
189
-     * @param $property
189
+     * @param string $property
190 190
      *
191 191
      * @return int|string
192 192
      */
Please login to merge, or discard this patch.
src/Kunstmaan/SeoBundle/Twig/GoogleAnalyticsTwigExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Returns a list of functions to add to the existing list.
28 28
      *
29
-     * @return array An array of functions
29
+     * @return \Twig_SimpleFunction[] An array of functions
30 30
      */
31 31
     public function getFunctions()
32 32
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      *
127 127
      * @param array  &$arr   This is modified in place
128 128
      * @param string $option the key in the $arr array
129
-     * @param mixed  $value  the new value if the option wasn't set already
129
+     * @param string  $value  the new value if the option wasn't set already
130 130
      */
131 131
     private function setOptionIfNotSet(&$arr, $option, $value)
132 132
     {
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
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * @Method({"GET", "POST"})
44 44
      * @Template("KunstmaanAdminListBundle:Default:add.html.twig")
45 45
      *
46
-     * @return array
46
+     * @return \Symfony\Component\HttpFoundation\Response
47 47
      */
48 48
     public function addAction(Request $request)
49 49
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Migrations/MigrationsService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @param ORM\Entity $entities        Result array with all entities to create an insert for
91 91
      * @param string     $entityClassName Class of the specified entity (same as entities)
92
-     * @param array      $ignoreFields    fields not to use in the insert query
92
+     * @param string[]      $ignoreFields    fields not to use in the insert query
93 93
      *
94 94
      * @return string an insert sql query, of no result nul
95 95
      */
Please login to merge, or discard this patch.