X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FOpenWebAuthToken.php;h=e99d40f12f65ccd56af0ee4ec500de37b6df16a1;hb=21f172c585aff8c606774a05fde1548ddff1667d;hp=5071b00d3a594a2e59b9b1276be4def3f0415af2;hpb=622b978a8444624b36b01853239a2959cb4a1bf5;p=friendica.git diff --git a/src/Model/OpenWebAuthToken.php b/src/Model/OpenWebAuthToken.php index 5071b00d3a..e99d40f12f 100644 --- a/src/Model/OpenWebAuthToken.php +++ b/src/Model/OpenWebAuthToken.php @@ -1,6 +1,6 @@ $type, - 'uid' => $uid, - 'token' => $token, - 'meta' => $meta, + 'type' => $type, + 'uid' => $uid, + 'token' => $token, + 'meta' => $meta, 'created' => DateTimeFormat::utcNow() ]; return DBA::insert('openwebauth-token', $fields); @@ -80,6 +79,7 @@ class OpenWebAuthToken * * @param string $type Verify type. * @param string $interval SQL compatible time interval + * @return void * @throws \Exception */ public static function purge(string $type, string $interval)