We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b70250 commit 2ac12baCopy full SHA for 2ac12ba
lib/UserApp/Widget/UserStaticBase.php
@@ -1,6 +1,7 @@
1
<?php
2
3
namespace UserApp\Widget;
4
+
5
use \UserApp\Widget\Session\ISession;
6
use \UserApp\Widget\Session\NativeSession;
7
use \UserApp\Exceptions\ServiceException;
@@ -12,7 +13,7 @@ abstract class UserStaticBase {
12
13
private static $_authenticated;
14
private static $_heartbeat_handler;
15
- public function onUnauthorized($callback){
16
+ public static function onUnauthorized($callback){
17
return self::getClient()->on('unauthorized', $callback);
18
}
19
0 commit comments