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,
|
||||
ILogger $logger,
|
||||
EventDispatcherInterface $dispatcher,
|
||||
$legacyEndpoint = false) {
|
||||
bool $legacyEndpoint = false) {
|
||||
$this->db = $db;
|
||||
$this->principalBackend = $principalBackend;
|
||||
$this->userManager = $userManager;
|
||||
|
|
|
@ -91,7 +91,7 @@ class Principal implements BackendInterface {
|
|||
IUserSession $userSession,
|
||||
IConfig $config,
|
||||
IAppManager $appManager,
|
||||
$principalPrefix = 'principals/users/') {
|
||||
string $principalPrefix = 'principals/users/') {
|
||||
$this->userManager = $userManager;
|
||||
$this->groupManager = $groupManager;
|
||||
$this->shareManager = $shareManager;
|
||||
|
|
Loading…
Reference in New Issue