Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / form / element / PasswordInputFormElement.class.php
index 27670abb7f23264f6be5e054c2167c737c07bd37..91197692a4b072e65d8ad2c5640de5492a67366b 100644 (file)
@@ -1,20 +1,23 @@
 <?php
+
 namespace wcf\system\form\element;
 
 /**
  * Provides a password input form element.
- * 
- * @author     Alexander Ebert
- * @copyright  2001-2019 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    WoltLabSuite\Core\System\Form\Element
+ *
+ * @author  Alexander Ebert
+ * @copyright   2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Form\Element
  */
-class PasswordInputFormElement extends AbstractNamedFormElement {
-       /**
-        * @inheritDoc
-        */
-       public function getHTML($formName) {
-               return <<<HTML
+class PasswordInputFormElement extends AbstractNamedFormElement
+{
+    /**
+     * @inheritDoc
+     */
+    public function getHTML($formName)
+    {
+        return <<<HTML
 <dl{$this->getErrorClass()}>
        <dt><label for="{$this->getName()}">{$this->getLabel()}</label></dt>
        <dd>
@@ -24,5 +27,5 @@ class PasswordInputFormElement extends AbstractNamedFormElement {
        </dd>
 </dl>
 HTML;
-       }
+    }
 }