Typehint builtin types in constructor to not initiate autoloading
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
357263a70b
commit
49361c40e2
|
@ -192,7 +192,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||||
ISecureRandom $random,
|
ISecureRandom $random,
|
||||||
ILogger $logger,
|
ILogger $logger,
|
||||||
EventDispatcherInterface $dispatcher,
|
EventDispatcherInterface $dispatcher,
|
||||||
$legacyEndpoint = false) {
|
bool $legacyEndpoint = false) {
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->principalBackend = $principalBackend;
|
$this->principalBackend = $principalBackend;
|
||||||
$this->userManager = $userManager;
|
$this->userManager = $userManager;
|
||||||
|
|
|
@ -91,7 +91,7 @@ class Principal implements BackendInterface {
|
||||||
IUserSession $userSession,
|
IUserSession $userSession,
|
||||||
IConfig $config,
|
IConfig $config,
|
||||||
IAppManager $appManager,
|
IAppManager $appManager,
|
||||||
$principalPrefix = 'principals/users/') {
|
string $principalPrefix = 'principals/users/') {
|
||||||
$this->userManager = $userManager;
|
$this->userManager = $userManager;
|
||||||
$this->groupManager = $groupManager;
|
$this->groupManager = $groupManager;
|
||||||
$this->shareManager = $shareManager;
|
$this->shareManager = $shareManager;
|
||||||
|
|
Loading…
Reference in New Issue