Completed
Push — master ( 4a6871...7314b0 )
by Flo
03:21
created
src/View/Helper/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         }
69 69
 
70
-        $path = str_replace('//' , '/', $path);
70
+        $path = str_replace('//', '/', $path);
71 71
 
72 72
         if ($absolute) {
73 73
 
Please login to merge, or discard this patch.
src/Http/XmlResponse.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      *
18 18
      * @param array $content
19 19
      */
20
-    public function __construct ($content = [])
20
+    public function __construct($content = [])
21 21
     {
22 22
         parent::__construct($content);
23 23
         $this->setContent($content);
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      * @param $data
32 32
      * @return bool|\DOMElement
33 33
      */
34
-    private function generateXmlElement(\DOMDocument $dom, $data )
34
+    private function generateXmlElement(\DOMDocument $dom, $data)
35 35
     {
36 36
         if (empty($data['name'])) {
37 37
             return false;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $doc->encoding   = 'UTF-8';
83 83
         $child = $this->generateXmlElement($doc, $content);
84 84
 
85
-        if ( $child ) {
85
+        if ($child) {
86 86
             $doc->appendChild($child);
87 87
         }
88 88
 
Please login to merge, or discard this patch.
src/Form/AbstractFormBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
      * @return boolean
269 269
      * @codeCoverageIgnore
270 270
      */
271
-    private function _addValidators(AbstractType &$typeClass, array $definition)
271
+    private function _addValidators(AbstractType & $typeClass, array $definition)
272 272
     {
273 273
         if (!empty($definition['validator'])) {
274 274
 
Please login to merge, or discard this patch.
src/Controller/Dispatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         list($class, $action, $permission, $payload) = $this->_getRoute($this->request->getPath());
88 88
 
89 89
         /** @var AbstractController $class */
90
-        $class   = new $class($this->request);
90
+        $class = new $class($this->request);
91 91
 
92 92
         if (!empty($permission)) {
93 93
 
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
             array_splice($var, 0, 1);
294 294
 
295
-            if ($this->requestType === 'default'  && in_array($this->request->getMethod(), $data['method'])) {
295
+            if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) {
296 296
 
297 297
                 return [
298 298
                     $data['controller'],
Please login to merge, or discard this patch.
src/Log/Writer/DefaultWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
             $message
26 26
         ];
27 27
 
28
-        $messageString  = implode(' | ', $columns) . "\r\n";
28
+        $messageString = implode(' | ', $columns) . "\r\n";
29 29
 
30 30
         return file_put_contents($logfile, $messageString, FILE_APPEND);
31 31
     }
Please login to merge, or discard this patch.