Completed
Push — master ( 1b2d0a...89ea1a )
by Oscar
03:00
created
src/Middleware/Csrf.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
         $token = self::encode(hash_hmac('sha256', ClientIp::getIp($request), base64_decode($token), true));
134 134
 
135 135
         return '<input type="hidden" name="'.$this->formIndex.'" value="'.htmlentities($index, ENT_QUOTES, 'UTF-8').'">'
136
-               .'<input type="hidden" name="'.$this->formToken.'" value="'.htmlentities($token, ENT_QUOTES, 'UTF-8').'">';
136
+                .'<input type="hidden" name="'.$this->formToken.'" value="'.htmlentities($token, ENT_QUOTES, 'UTF-8').'">';
137 137
     }
138 138
 
139 139
     /**
Please login to merge, or discard this patch.
src/Middleware/Geolocate.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,6 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * Returns the geolocation from the session storage
111 111
      * 
112
-     * @param ResponseInterface      $response
113 112
      * @param string $ip
114 113
      * 
115 114
      * @return AddressCollection|null
@@ -127,7 +126,6 @@  discard block
 block discarded – undo
127 126
     /**
128 127
      * Saves the geolocation in the session storage
129 128
      * 
130
-     * @param ResponseInterface      $response
131 129
      * @param string $ip
132 130
      * @param AddressCollection $address
133 131
      */
Please login to merge, or discard this patch.