Completed
Push — master ( 8d2960...79a096 )
by Jared
02:17
created
src/RsaSha1Signature.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @param string $uri
39 39
      *
40
-     * @return Url
40
+     * @return \Psr\Http\Message\UriInterface
41 41
      */
42 42
     protected function createUrl($uri)
43 43
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * Generate a base string for a RSA-SHA1 signature
49 49
      * based on the given a url, method, and any parameters.
50 50
      *
51
-     * @param Url    $url
51
+     * @param Uri    $url
52 52
      * @param string $method
53 53
      * @param array  $parameters
54 54
      *
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@
 block discarded – undo
59 59
         $baseString = rawurlencode($method).'&';
60 60
 
61 61
         $schemeHostPath = Uri::fromParts(array(
62
-           'scheme' => $url->getScheme(),
63
-           'host' => $url->getHost(),
64
-           'path' => $url->getPath(),
62
+            'scheme' => $url->getScheme(),
63
+            'host' => $url->getHost(),
64
+            'path' => $url->getPath(),
65 65
         ));
66 66
 
67 67
         $baseString .= rawurlencode($schemeHostPath).'&';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $data = array_merge($query, $parameters);
72 72
 
73 73
         // normalize data key/values
74
-        array_walk_recursive($data, function (&$key, &$value) {
74
+        array_walk_recursive($data, function(&$key, &$value) {
75 75
             $key = rawurlencode(rawurldecode($key));
76 76
             $value = rawurlencode(rawurldecode($value));
77 77
         });
Please login to merge, or discard this patch.