Completed
Push — master ( 909b81...03b2e6 )
by Omid
33s
created
src/MovingImage/Client/VMPro/ApiClient/Guzzle5ApiClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * @param string $uri
21 21
      * @param array  $options
22 22
      *
23
-     * @return \GuzzleHttp\Message\ResponseInterface
23
+     * @return \Psr\Http\Message\ResponseInterface
24 24
      */
25 25
     protected function _doRequest($method, $uri, $options)
26 26
     {
Please login to merge, or discard this patch.
src/MovingImage/Client/VMPro/Middleware/TokenMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public function __invoke(callable $handler)
48 48
     {
49
-        return function (
49
+        return function(
50 50
             RequestInterface $request,
51 51
             array $options
52 52
         ) use ($handler) {
Please login to merge, or discard this patch.
src/MovingImage/Util/AccessorTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     {
22 22
         // are we getting or setting?
23 23
         if (preg_match('~^(set|get|is)([A-Z])(.*)$~', $methodName, $matches)) {
24
-            $property = strtolower($matches[2]) . $matches[3];
24
+            $property = strtolower($matches[2]).$matches[3];
25 25
             if (!property_exists($this, $property)) {
26
-                throw new \InvalidArgumentException('Property ' . $property . ' is not exist');
26
+                throw new \InvalidArgumentException('Property '.$property.' is not exist');
27 27
             }
28 28
             switch ($matches[1]) {
29 29
                 case 'set':
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
                     return $this->get($property);
38 38
                 case 'default':
39
-                    throw new \BadMethodCallException('Method ' . $methodName . ' is not exist');
39
+                    throw new \BadMethodCallException('Method '.$methodName.' is not exist');
40 40
             }
41 41
         }
42 42
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     {
83 83
         $argc = count($args);
84 84
         if ($argc < $min || $argc > $max) {
85
-            throw new \BadMethodCallException('Method ' . $methodName . ' is not exist');
85
+            throw new \BadMethodCallException('Method '.$methodName.' is not exist');
86 86
         }
87 87
     }
88 88
 
Please login to merge, or discard this patch.