Completed
Push — master ( 2ac042...4e5e3b )
by Nate
02:40
created
src/Generation/Handler/HeaderHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         }
58 58
 
59 59
         if ($context->annotations()->isMultipart()) {
60
-            return ['Content-Type' => 'multipart/form-data; boundary=' . $context->annotations()->getMultipartBoundary()];
60
+            return ['Content-Type' => 'multipart/form-data; boundary='.$context->annotations()->getMultipartBoundary()];
61 61
         }
62 62
 
63 63
         $contentType = ['Content-Type' => 'application/x-www-form-urlencoded'];
Please login to merge, or discard this patch.
src/Generation/Printer/ArrayPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     public function printArray(array $array)
58 58
     {
59 59
         $string = var_export($array, true);
60
-        $string = preg_replace('/\'\$(.+)\'/', '$' . '\\1', $string);
60
+        $string = preg_replace('/\'\$(.+)\'/', '$'.'\\1', $string);
61 61
 
62 62
         $statements = $this->parser->parse($string);
63 63
 
Please login to merge, or discard this patch.
src/Adapter/Rest/RestAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
         if (class_exists($service)) {
95 95
             $class = $service;
96 96
         } elseif (interface_exists($service)) {
97
-            $class = Retrofit::NAMESPACE_PREFIX . '\\' . $service;
97
+            $class = Retrofit::NAMESPACE_PREFIX.'\\'.$service;
98 98
         } else {
99 99
             throw new RetrofitException(sprintf('Could not create client. "%s" should be a class or interface.', $service));
100 100
         }
Please login to merge, or discard this patch.
src/Annotation/VariableMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     public function getVariable()
68 68
     {
69
-        return '$' . $this->getVariableName();
69
+        return '$'.$this->getVariableName();
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.
src/Annotation/HttpRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
                 $this->parameters[] = $paramName;
61 61
 
62 62
                 // replace {variable} with $variable in path for each match found
63
-                $path = str_replace($pathMatches[0][$key], '$' . $paramName, $path);
63
+                $path = str_replace($pathMatches[0][$key], '$'.$paramName, $path);
64 64
             }
65 65
         }
66 66
 
Please login to merge, or discard this patch.
src/RetrofitBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $this->eventDispatcher->addListener(MethodEvent::NAME, new DynamoMethodListener());
102 102
 
103 103
         if (null === $this->cacheDir) {
104
-            $this->cacheDir = sys_get_temp_dir() . '/retrofit';
104
+            $this->cacheDir = sys_get_temp_dir().'/retrofit';
105 105
         }
106 106
 
107 107
         if (null === $this->serviceResolver) {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         if (null === $this->generator) {
112 112
             $this->generator = Generator::builder()
113 113
                 ->setNamespacePrefix(Retrofit::NAMESPACE_PREFIX)
114
-                ->setCacheDir($this->cacheDir . '/retrofit')
114
+                ->setCacheDir($this->cacheDir.'/retrofit')
115 115
                 ->setEventDispatcher($this->eventDispatcher)
116 116
                 ->build();
117 117
         }
Please login to merge, or discard this patch.
src/Generation/Provider/AnnotationProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@
 block discarded – undo
463 463
             return null;
464 464
         }
465 465
 
466
-        return '$' . $callback->getName();
466
+        return '$'.$callback->getName();
467 467
     }
468 468
 
469 469
     /**
Please login to merge, or discard this patch.