diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-06-14 13:47:14 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-06-14 13:47:14 +0300 |
| commit | cc51487f080166b2a21eb529f1d4fc29994d9ff1 (patch) | |
| tree | e87e5ce6c96a233b9f50c8fb456b02834a585ec1 /classes/PluginHost.php | |
| parent | 66db7dc0ac996f528f6ff9d71f3cc7ec30d65278 (diff) | |
| parent | 9e6684e9277dace834ef10dab21c5b585f291675 (diff) | |
Merge branch 'master' into weblate-integration
Diffstat (limited to 'classes/PluginHost.php')
| -rw-r--r-- | classes/PluginHost.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/PluginHost.php b/classes/PluginHost.php index e39273672..2098be4e6 100644 --- a/classes/PluginHost.php +++ b/classes/PluginHost.php @@ -429,7 +429,7 @@ class PluginHost { /** * @param PluginHost::KIND_* $kind */ - function load_all(int $kind, int $owner_uid = null, bool $skip_init = false): void { + function load_all(int $kind, ?int $owner_uid = null, bool $skip_init = false): void { $span = Tracer::start(__METHOD__); $span->setAttribute('func.args', json_encode(func_get_args())); @@ -447,7 +447,7 @@ class PluginHost { /** * @param PluginHost::KIND_* $kind */ - function load(string $classlist, int $kind, int $owner_uid = null, bool $skip_init = false): void { + function load(string $classlist, int $kind, ?int $owner_uid = null, bool $skip_init = false): void { $span = Tracer::start(__METHOD__); $span->setAttribute('func.args', json_encode(func_get_args())); |