Merge pull request #323 from alantygel/patch-1

Explicitly type $userManager
This commit is contained in:
Morris Jobke
2017-01-20 10:41:33 -06:00
committed by GitHub

View File

@@ -48,12 +48,13 @@ The hook logic should be in a separate class that is being registered in the :do
<?php
namespace OCA\MyApp\Hooks;
use OCP\IUserManager;
class UserHooks {
private $userManager;
public function __construct($userManager){
public function __construct(IUserManager $userManager){
$this->userManager = $userManager;
}