Commit 35332a07 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(setup) Fix other strict typing errors in setup

issue #5956
Showing with 6 additions and 6 deletions
+6 -6
<?php <?php
/* /*
This code is part of FusionDirectory (http://www.fusiondirectory.org/) This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2007 Fabian Hickert Copyright (C) 2007 Fabian Hickert
Copyright (C) 2011-2016 FusionDirectory Copyright (C) 2011-2019 FusionDirectory
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
...@@ -166,19 +167,19 @@ class setupStepConfig extends configInLdap ...@@ -166,19 +167,19 @@ class setupStepConfig extends configInLdap
{ {
return TRUE; return TRUE;
} }
function acl_is_createable ($base = ""): bool function acl_is_createable (string $base = NULL): bool
{ {
return TRUE; return TRUE;
} }
function acl_is_removeable ($base = ""): bool function acl_is_removeable (string $base = NULL): bool
{ {
return TRUE; return TRUE;
} }
function acl_is_moveable ($base = ""): bool function acl_is_moveable (string $base = NULL): bool
{ {
return TRUE; return TRUE;
} }
function aclGetPermissions ($attribute = '0', $base = NULL, $skipWrite = FALSE): string function aclGetPermissions ($attribute = '0', string $base = NULL, bool $skipWrite = FALSE): string
{ {
return 'cmdrw'; return 'cmdrw';
} }
...@@ -189,4 +190,3 @@ class setupStepConfig extends configInLdap ...@@ -189,4 +190,3 @@ class setupStepConfig extends configInLdap
return configInLdap::isAccount($attrs); return configInLdap::isAccount($attrs);
} }
} }
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment