Skip to content

Commit 2ac12ba

Browse files
Robin OrhedenRobin Orheden
Robin Orheden
authored and
Robin Orheden
committed
Fixed typo (static function not marked as static)
1 parent 7b70250 commit 2ac12ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/UserApp/Widget/UserStaticBase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
namespace UserApp\Widget;
4+
45
use \UserApp\Widget\Session\ISession;
56
use \UserApp\Widget\Session\NativeSession;
67
use \UserApp\Exceptions\ServiceException;
@@ -12,7 +13,7 @@ abstract class UserStaticBase {
1213
private static $_authenticated;
1314
private static $_heartbeat_handler;
1415

15-
public function onUnauthorized($callback){
16+
public static function onUnauthorized($callback){
1617
return self::getClient()->on('unauthorized', $callback);
1718
}
1819

0 commit comments

Comments
 (0)