]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/HTTPSignature.php
Update function / rearrange tab order
[friendica.git] / src / Util / HTTPSignature.php
index d48d02c20e2382cc178948280a25b865a9b45b70..ae7e0fe375f14c4ef2e4d61696df855803743e1a 100644 (file)
@@ -451,7 +451,7 @@ class HTTPSignature
         * @param string  $request request url
         * @param integer $uid     User id of the requester
         * @param boolean $binary  TRUE if asked to return binary results (file download) (default is "false")
-        * @param array   $opts    (optional parameters) assoziative array with:
+        * @param array   $opts    (optional parameters) associative array with:
         *                         'accept_content' => supply Accept: header with 'accept_content' as the value
         *                         'timeout' => int Timeout in seconds, default system config value or 60 seconds
         *                         'nobody' => only return the header
@@ -627,7 +627,7 @@ class HTTPSignature
                }
 
                if (empty($algorithm)) {
-                       Logger::info('No alagorithm');
+                       Logger::info('No algorithm');
                        return false;
                }