Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / form / builder / field / IPatternFormField.class.php
index 577e221dcc7ebc251e63272011b39b5cfcaf0f31..87a2113f7fa8ad358db5f52e1b5e40478146c583 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 namespace wcf\system\form\builder\field;
 
 /**
@@ -11,18 +12,19 @@ namespace wcf\system\form\builder\field;
  * @see         https://html.spec.whatwg.org/multipage/input.html#attr-input-pattern
  * @since       5.4
  */
-interface IPatternFormField {
-       /**
-        * Returns the `pattern` attribute of the form field.
-        *
-        * If `null` is returned, no `pattern` attribute will be set.
-        */
-       public function getPattern(): ?string;
-       
-       /**
-        * Sets the `pattern` attribute of the form field.
-        *
-        * If `null` is given, the attribute is unset.
-        */
-       public function pattern(?string $pattern): self;
+interface IPatternFormField
+{
+    /**
+     * Returns the `pattern` attribute of the form field.
+     *
+     * If `null` is returned, no `pattern` attribute will be set.
+     */
+    public function getPattern(): ?string;
+
+    /**
+     * Sets the `pattern` attribute of the form field.
+     *
+     * If `null` is given, the attribute is unset.
+     */
+    public function pattern(?string $pattern): self;
 }