Skip to content

Commit

Permalink
fix deprecated warning
Browse files Browse the repository at this point in the history
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 <[email protected]>

Update lib/Settings/Personal.php

The interface is already in the namespace

Co-authored-by: Pytal <[email protected]>
Signed-off-by: Bruno Cabral <[email protected]>
  • Loading branch information
brccabral and Pytal committed Jan 30, 2024
1 parent 4943f39 commit f29fdeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Settings/Personal.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class Personal implements ISettings {

/** @var IConfig */
private $config;
/** @var IURLGenerator */
private $urlGenerator;
/** @var \OC_Defaults */
private $defaults;

Expand Down

0 comments on commit f29fdeb

Please sign in to comment.