Completed
Push — master ( 04a06d...e30ab2 )
by Risan Bagja
03:35 queued 02:07
created
src/Config/UriConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         ];
106 106
 
107 107
         foreach ($requiredParams as $param) {
108
-            if (! isset($uris[$param])) {
108
+            if (!isset($uris[$param])) {
109 109
                 throw new InvalidArgumentException("Missing URI configuration: {$param}.");
110 110
             }
111 111
         }
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function setBase(UriInterface $uri)
124 124
     {
125
-        if (! $this->parser->isAbsolute($uri)) {
125
+        if (!$this->parser->isAbsolute($uri)) {
126 126
             throw new InvalidArgumentException('The base URI must be absolute.');
127 127
         }
128 128
 
@@ -212,6 +212,6 @@  discard block
 block discarded – undo
212 212
      */
213 213
     public function shouldBeResolvedToAbsoluteUri(UriInterface $uri)
214 214
     {
215
-        return ! $this->parser->isAbsolute($uri) && $this->hasBase();
215
+        return !$this->parser->isAbsolute($uri) && $this->hasBase();
216 216
     }
217 217
 }
Please login to merge, or discard this patch.
src/Request/ProtocolParameter.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use DateTime;
6 6
 use Risan\OAuth1\Config\ConfigInterface;
7
-use Risan\OAuth1\Signature\SignerInterface;
8
-use Risan\OAuth1\Credentials\TemporaryCredentials;
9 7
 use Risan\OAuth1\Credentials\ServerIssuedCredentials;
8
+use Risan\OAuth1\Credentials\TemporaryCredentials;
9
+use Risan\OAuth1\Signature\SignerInterface;
10 10
 
11 11
 class ProtocolParameter implements ProtocolParameterInterface
12 12
 {
Please login to merge, or discard this patch.