Completed
Push — master ( 9e80c6...352db1 )
by Dmitry
02:36
created
src/Logger/EchoLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         if (!$this->checkLevel($level)) {
28 28
             throw new InvalidArgumentException("Invalid log level {$level}");
29 29
         }
30
-        echo "[$level] $message" . PHP_EOL;
30
+        echo "[$level] $message".PHP_EOL;
31 31
     }
32 32
 
33 33
     private function checkLevel($level)
Please login to merge, or discard this patch.
src/Exception/ErrorResponseException.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     public function __toString()
43 43
     {
44
-        $str = 'Exception ' . __CLASS__ . " code {$this->code} with message '{$this->message}' in `{$this->file}`" . PHP_EOL;
45
-        $str .= 'Details: ' . $this->details . PHP_EOL;
46
-        $str .= 'Stack trace:' . PHP_EOL . $this->getTraceAsString();
44
+        $str = 'Exception '.__CLASS__." code {$this->code} with message '{$this->message}' in `{$this->file}`".PHP_EOL;
45
+        $str .= 'Details: '.$this->details.PHP_EOL;
46
+        $str .= 'Stack trace:'.PHP_EOL.$this->getTraceAsString();
47 47
         return $str;
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
src/ServiceFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function createService($serviceName, array $options = [])
50 50
     {
51
-        $className = $this->getServiceNamespace() . '\\' . ucfirst($serviceName);
51
+        $className = $this->getServiceNamespace().'\\'.ucfirst($serviceName);
52 52
 
53 53
         // Override service base options
54 54
         $options = array_merge($this->defaultOptions, [
@@ -112,6 +112,6 @@  discard block
 block discarded – undo
112 112
      */
113 113
     protected function getServiceNamespace()
114 114
     {
115
-        return __NAMESPACE__ . '\\' . 'Service';
115
+        return __NAMESPACE__.'\\'.'Service';
116 116
     }
117 117
 }
Please login to merge, or discard this patch.