Test Failed
Pull Request — master (#19)
by Flo
03:27
created
src/Controller/Dispatcher.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @param $file
132
+     * @param string $file
133 133
      * @return string
134 134
      * @codeCoverageIgnore
135 135
      */
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     }
142 142
 
143 143
     /**
144
-     * @param $file
144
+     * @param string $file
145 145
      * @return string
146 146
      * @codeCoverageIgnore
147 147
      */
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-     * @param $request
79
+     * @param Request $request
80 80
      * @param $e
81 81
      * @return Http\Response
82 82
      * @codeCoverageIgnore
Please login to merge, or discard this patch.
src/Http/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * Get response body and set headers
96 96
      *
97
-     * @return mixed
97
+     * @return string
98 98
      */
99 99
     public function getContent()
100 100
     {
Please login to merge, or discard this patch.
src/Form/Type/AbstractType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@
 block discarded – undo
302 302
     }
303 303
 
304 304
     /**
305
-     * @param $type
305
+     * @param string $type
306 306
      * @return bool
307 307
      */
308 308
     private function translateType($type)
Please login to merge, or discard this patch.
src/Http/XmlResponse.php 2 patches
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
      * @param $dom
31 31
      * @param $data
32
-     * @return bool|\DOMElement
32
+     * @return \DOMNode
33 33
      */
34 34
     protected function generateXmlElement(\DOMDocument $dom, $data )
35 35
     {
Please login to merge, or discard this patch.
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,8 +33,9 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function generateXmlElement(\DOMDocument $dom, $data )
35 35
     {
36
-        if ( empty( $data['name'] ) )
37
-            return false;
36
+        if ( empty( $data['name'] ) ) {
37
+                    return false;
38
+        }
38 39
 
39 40
         // Create the element
40 41
         $element_value = ( ! empty( $data['value'] ) ) ? $data['value'] : null;
@@ -49,12 +50,14 @@  discard block
 block discarded – undo
49 50
 
50 51
         // Any other items in the data array should be child elements
51 52
         foreach ( $data as $data_key => $child_data ) {
52
-            if ( ! is_numeric( $data_key ) )
53
-                continue;
53
+            if ( ! is_numeric( $data_key ) ) {
54
+                            continue;
55
+            }
54 56
 
55 57
             $child = $this->generateXmlElement( $dom, $child_data );
56
-            if ( $child )
57
-                $element->appendChild( $child );
58
+            if ( $child ) {
59
+                            $element->appendChild( $child );
60
+            }
58 61
         }
59 62
 
60 63
         return $element;
Please login to merge, or discard this patch.
src/Service/AuthenticatorService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 
112 112
     /**
113 113
      * @param array $roles
114
-     * @return bool
114
+     * @return null|boolean
115 115
      */
116 116
     public function isPermitted(array $roles)
117 117
     {
Please login to merge, or discard this patch.