diff options
Diffstat (limited to 'lib/public/Notification/IManager.php')
-rw-r--r-- | lib/public/Notification/IManager.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/public/Notification/IManager.php b/lib/public/Notification/IManager.php index 96427ddff92..207a89344b0 100644 --- a/lib/public/Notification/IManager.php +++ b/lib/public/Notification/IManager.php @@ -8,12 +8,10 @@ declare(strict_types=1); */ namespace OCP\Notification; -/** - * Interface IManager - * - * @since 9.0.0 - */ -interface IManager extends IApp, INotifier { +use OCP\AppFramework\Attribute\Consumable; + +#[Consumable(since: '9.0.0')] +interface IManager extends IApp, IPreloadableNotifier { /** * @param string $appClass The service must implement IApp, otherwise a * \InvalidArgumentException is thrown later |