Completed
Push — 4.0 ( 2ca4e1...0c3d7c )
by Marco
15:24
created
src/Comodojo/Dispatcher/Output/HttpStatus/Status405.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         // An Allow Header should be prvided from DispatcherException
32 32
         $allowed = $this->response()->headers()->get('Allow');
33 33
 
34
-        if ( is_null($allowed) ) {
34
+        if (is_null($allowed)) {
35 35
 
36 36
             header('Method not allowed', true, 405);
37 37
 
Please login to merge, or discard this patch.
src/Comodojo/Dispatcher/Output/Processor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
         $output_class_name = "\\Comodojo\\Dispatcher\\Output\\HttpStatus\\Status".$status;
88 88
 
89
-        if ( class_exists($output_class_name) ) {
89
+        if (class_exists($output_class_name)) {
90 90
 
91 91
             $output = new $output_class_name($this->response);
92 92
 
Please login to merge, or discard this patch.
src/Comodojo/Dispatcher/Output/HttpStatus/Status501.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         // An Allow Header should be prvided from DispatcherException
32 32
         $allowed = $this->response()->headers()->get('Allow');
33 33
 
34
-        if ( is_null($allowed) ) {
34
+        if (is_null($allowed)) {
35 35
 
36 36
             header('Method not allowed', true, 405);
37 37
 
Please login to merge, or discard this patch.