Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / template / plugin / IBlockTemplatePlugin.class.php
index a6e39bda5aa57d440f1fd8fff059c414203eb639..502d7fe0f60966967db05eab1f229a54ed8b3bba 100644 (file)
@@ -1,39 +1,42 @@
 <?php
+
 namespace wcf\system\template\plugin;
+
 use wcf\system\template\TemplateEngine;
 
 /**
  * Block functions encloses a template block and operate on the contents of this block.
- * 
- * @author     Marcel Werk
- * @copyright  2001-2019 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    WoltLabSuite\Core\System\Template\Plugin
+ *
+ * @author  Marcel Werk
+ * @copyright   2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Template\Plugin
  */
-interface IBlockTemplatePlugin {
-       /**
-        * Executes this template block.
-        * 
-        * @param       array                   $tagArgs
-        * @param       string                  $blockContent
-        * @param       TemplateEngine          $tplObj
-        * @return      string
-        */
-       public function execute($tagArgs, $blockContent, TemplateEngine $tplObj);
-       
-       /**
-        * Initialises this template block.
-        * 
-        * @param       array                   $tagArgs
-        * @param       TemplateEngine          $tplObj
-        */
-       public function init($tagArgs, TemplateEngine $tplObj);
-       
-       /**
-        * This function is called before every execution of this block function.
-        * 
-        * @param       TemplateEngine          $tplObj
-        * @return      bool
-        */
-       public function next(TemplateEngine $tplObj);
+interface IBlockTemplatePlugin
+{
+    /**
+     * Executes this template block.
+     *
+     * @param array $tagArgs
+     * @param string $blockContent
+     * @param TemplateEngine $tplObj
+     * @return  string
+     */
+    public function execute($tagArgs, $blockContent, TemplateEngine $tplObj);
+
+    /**
+     * Initialises this template block.
+     *
+     * @param array $tagArgs
+     * @param TemplateEngine $tplObj
+     */
+    public function init($tagArgs, TemplateEngine $tplObj);
+
+    /**
+     * This function is called before every execution of this block function.
+     *
+     * @param TemplateEngine $tplObj
+     * @return  bool
+     */
+    public function next(TemplateEngine $tplObj);
 }