diff --git a/lib/private/Hooks/EmitterTrait.php b/lib/private/Hooks/EmitterTrait.php
index cb061d4b998f663b5645e4fd580664434a532ff2..da8b8460d0a607ad30383de776c3eb2f3683e973 100644
--- a/lib/private/Hooks/EmitterTrait.php
+++ b/lib/private/Hooks/EmitterTrait.php
@@ -25,7 +25,7 @@ namespace OC\Hooks;
 trait EmitterTrait {
 
 	/**
-	 * @var (callable[])[] $listeners
+	 * @var callable[][] $listeners
 	 */
 	protected $listeners = array();
 
diff --git a/lib/private/Support/CrashReport/Registry.php b/lib/private/Support/CrashReport/Registry.php
index 670cea3da0e13c59123132575dcdae0329315eeb..5eb78965c19f29b27e38c9278ba52af6de28093c 100644
--- a/lib/private/Support/CrashReport/Registry.php
+++ b/lib/private/Support/CrashReport/Registry.php
@@ -29,7 +29,7 @@ use Throwable;
 
 class Registry implements IRegistry {
 
-	/** @var array<IReporter> */
+	/** @var IReporter[] */
 	private $reporters = [];
 
 	/**