Deprecate `\wcf\SensitiveArgument`
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 13 May 2022 10:07:06 +0000 (12:07 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 13 May 2022 10:09:09 +0000 (12:09 +0200)
wcfsetup/install/files/lib/core.functions.php

index 0286c4a2b7244b2bfa9234933141b4288ec77ecb..d8e68e90917ae8d333886764e808293387a59c99 100644 (file)
@@ -97,6 +97,9 @@ namespace wcf {
                return preg_replace('/^(\d+\.\d+)\..*$/', '\\1', WCF_VERSION);
        }
 
+       /**
+        * @deprecated 5.6 Use #[\SensitiveParameter] instead.
+        */
        #[\Attribute(\Attribute::TARGET_PARAMETER)]
        class SensitiveArgument
        {