Use everytime lowercase identifier
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / spider / Spider.class.php
index 3e20693c79764cf93da108ec351fcb63f3aca9e7..6a86469dd88e94fe52bcb9165ae1018192d15a08 100644 (file)
@@ -9,10 +9,13 @@ namespace wcf\system\spider;
  */
 final readonly class Spider
 {
+    public string $identifier;
+
     public function __construct(
-        public string $identifier,
+        string $identifier,
         public string $name,
         public ?string $url = null,
     ) {
+        $this->identifier = \mb_strtolower($identifier);
     }
 }