]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/lib/magicenvelope.php
Improve debugging for Salmon slaps
[quix0rs-gnu-social.git] / plugins / OStatus / lib / magicenvelope.php
index a257656762c739d81483d6dcac389574ba966bb2..e61a04b9326d8b6991ba086a412ce6ed26d5939b 100644 (file)
@@ -251,11 +251,12 @@ class MagicEnvelope
      *
      * Details of failure conditions are dumped to output log and not exposed to caller.
      *
-     * @param Profile $profile optional profile used to get locally cached public signature key.
+     * @param Profile $profile profile used to get locally cached public signature key
+     *                         or if necessary perform discovery on.
      *
      * @return boolean
      */
-    public function verify(Profile $profile=null)
+    public function verify(Profile $profile)
     {
         if ($this->alg != 'RSA-SHA256') {
             common_log(LOG_DEBUG, "Salmon error: bad algorithm");