Skip to content

Commit f29fdeb

Browse files
brccabralPytal
andcommitted
fix deprecated warning
I was getting this warning when in Debug mode. ``` Creation of dynamic property OCA\FirstRunWizard\Settings\Personal::$urlGenerator is deprecated at /mnt/HDExtra/nextcloud-server/nextcloud/apps/firstrunwizard/lib/Settings/Personal.php#40 ``` Signed-off-by: Bruno Cabral <cabral.brc@gmail.com> Update lib/Settings/Personal.php The interface is already in the namespace Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Bruno Cabral <cabral.brc@gmail.com>
1 parent 4943f39 commit f29fdeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Settings/Personal.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class Personal implements ISettings {
3232

3333
/** @var IConfig */
3434
private $config;
35+
/** @var IURLGenerator */
36+
private $urlGenerator;
3537
/** @var \OC_Defaults */
3638
private $defaults;
3739

0 commit comments

Comments
 (0)