Completed
Push — master ( 46cbe3...2e6b4b )
by Dmitry
01:55
created
src/ConfigurableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         foreach ($options as $option => $value)
22 22
         {
23
-            $setter = 'set' . ucfirst($option);
23
+            $setter = 'set'.ucfirst($option);
24 24
 
25 25
             if (method_exists($this, $setter)) {
26 26
                 $this->$setter($value);
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
             if (!$ignoreMissingOptions) {
36 36
                 throw new InvalidArgumentException(
37
-                    "Property `{$option}` not found in class `" . __CLASS__ . "`."
37
+                    "Property `{$option}` not found in class `".__CLASS__."`."
38 38
                 );
39 39
             }
40 40
         }
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
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
      */
43 43
     public function __toString()
44 44
     {
45
-        $str = 'Exception ' . __CLASS__ . " code {$this->code} with message '{$this->message}' in `{$this->file}`" . PHP_EOL;
46
-        $str .= 'Details: ' . $this->details . PHP_EOL;
47
-        $str .= 'Stack trace:' . PHP_EOL . $this->getTraceAsString();
45
+        $str = 'Exception '.__CLASS__." code {$this->code} with message '{$this->message}' in `{$this->file}`".PHP_EOL;
46
+        $str .= 'Details: '.$this->details.PHP_EOL;
47
+        $str .= 'Stack trace:'.PHP_EOL.$this->getTraceAsString();
48 48
         return $str;
49 49
     }
50 50
 }
51 51
\ No newline at end of file
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
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function createService($serviceName, array $options = [])
51 51
     {
52
-        $className = $this->getServiceNamespace() . '\\' . ucfirst($serviceName);
52
+        $className = $this->getServiceNamespace().'\\'.ucfirst($serviceName);
53 53
 
54 54
         // Override service base options
55 55
         $options = array_merge($this->defaultOptions, [
@@ -109,6 +109,6 @@  discard block
 block discarded – undo
109 109
      */
110 110
     protected function getServiceNamespace()
111 111
     {
112
-        return __NAMESPACE__ . '\\' . 'Service';
112
+        return __NAMESPACE__.'\\'.'Service';
113 113
     }
114 114
 }
115 115
\ No newline at end of file
Please login to merge, or discard this patch.
src/Logger/EchoLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
      */
20 20
     public function log($level, $message, array $context = [])
21 21
     {
22
-        echo "[$level] $message" . PHP_EOL;
22
+        echo "[$level] $message".PHP_EOL;
23 23
     }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
src/Transport/JsonTransport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,10 +84,10 @@  discard block
 block discarded – undo
84 84
             if (preg_match('#http[s]*://#u', $this->serviceUrls[$serviceName])) {
85 85
                 return $this->serviceUrls[$serviceName];
86 86
             }
87
-            return $this->baseUrl . $this->serviceUrls[$serviceName];
87
+            return $this->baseUrl.$this->serviceUrls[$serviceName];
88 88
         }
89 89
 
90
-        return $this->baseUrl . '/json/v5/' . strtolower($serviceName);
90
+        return $this->baseUrl.'/json/v5/'.strtolower($serviceName);
91 91
     }
92 92
 
93 93
     /**
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     private function prepareHeaders(TransportRequest $request)
198 198
     {
199 199
         return array_merge([
200
-            'Authorization' => 'Bearer ' . $request->getCredentials()->getToken(),
200
+            'Authorization' => 'Bearer '.$request->getCredentials()->getToken(),
201 201
             'Client-Login' => $request->getCredentials()->getLogin(),
202 202
             'Use-Operator-Units' => $request->getUseOperatorUnits(),
203 203
             'Accept-Language' => $this->language,
Please login to merge, or discard this patch.