summaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-05-08 14:27:22 +0200
committerRobin Appelman <icewind@owncloud.com>2015-06-02 14:07:55 +0200
commit0497534a6e5c7c856faf2f4a1939ab34a7f59a8f (patch)
tree9b6c1b92ad04cf9e980a2d9839af178c753486d3 /lib/private/user
parent8926bca0c7f27774959ec831c830c883bd284100 (diff)
downloadnextcloud-server-0497534a6e5c7c856faf2f4a1939ab34a7f59a8f.tar.gz
nextcloud-server-0497534a6e5c7c856faf2f4a1939ab34a7f59a8f.zip
more type hints
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/user/session.php b/lib/private/user/session.php
index a66ae6bd8ad..75a884fb452 100644
--- a/lib/private/user/session.php
+++ b/lib/private/user/session.php
@@ -81,7 +81,7 @@ class Session implements IUserSession, Emitter {
* @param string $method
* @param callable $callback
*/
- public function listen($scope, $method, $callback) {
+ public function listen($scope, $method, callable $callback) {
$this->manager->listen($scope, $method, $callback);
}
@@ -90,7 +90,7 @@ class Session implements IUserSession, Emitter {
* @param string $method optional
* @param callable $callback optional
*/
- public function removeListener($scope = null, $method = null, $callback = null) {
+ public function removeListener($scope = null, $method = null, callable $callback = null) {
$this->manager->removeListener($scope, $method, $callback);
}