Unverified Commit 1614ba94 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(core) Fix typing and documentation to fix phpstan on plugins side

issue #6134
Showing with 7 additions and 1 deletion
+7 -1
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
* @method string|resource cat ($dn, $attrs = ["*"], $filter = "(objectclass=*)") * @method string|resource cat ($dn, $attrs = ["*"], $filter = "(objectclass=*)")
* @method int count () * @method int count ()
* @method bool success () * @method bool success ()
* @method true|0|"" rmdir_recursive (string $deletedn)
* @method void create_missing_trees (string $target, bool $ignoreReferralBases = TRUE)
* @method mixed add ($attrs)
*/ */
class ldapMultiplexer class ldapMultiplexer
{ {
......
...@@ -41,6 +41,9 @@ class simpleTabs implements FusionDirectoryDialog ...@@ -41,6 +41,9 @@ class simpleTabs implements FusionDirectoryDialog
var $current = ""; var $current = "";
var $disabled = ""; var $disabled = "";
var $by_name = []; var $by_name = [];
/**
* @var array<string,SimpleTab>
*/
var $by_object = []; var $by_object = [];
var $acl_category; var $acl_category;
...@@ -181,7 +184,7 @@ class simpleTabs implements FusionDirectoryDialog ...@@ -181,7 +184,7 @@ class simpleTabs implements FusionDirectoryDialog
} }
} }
function getBaseObject () function getBaseObject (): SimpleTab
{ {
return $this->by_object[$this->baseclass]; return $this->by_object[$this->baseclass];
} }
......
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