From 27c6a3bcb477cd1e9d24e45914771bd3817f371a Mon Sep 17 00:00:00 2001 From: Anna Dabrowska Date: Thu, 19 Sep 2024 20:46:44 +0200 Subject: [PATCH] Code style fixes --- action.php | 1 - helper.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/action.php b/action.php index 6e07ea3..6c4dd87 100644 --- a/action.php +++ b/action.php @@ -84,4 +84,3 @@ public function handleAclCheck(Doku_Event $event, $mode) } } } - diff --git a/helper.php b/helper.php index 615886c..125ad5a 100644 --- a/helper.php +++ b/helper.php @@ -2,7 +2,7 @@ class helper_plugin_structacl extends DokuWiki_Plugin { - const STRUCTACL_SEPCHAR = '.'; + public const STRUCTACL_SEPCHAR = '.'; /** * Convert config lines "schema.field name" into an array * @@ -11,7 +11,7 @@ class helper_plugin_structacl extends DokuWiki_Plugin */ public function getConfiguration($confValue) { - $lines = explode(PHP_EOL , $confValue); + $lines = explode(PHP_EOL, $confValue); $config = []; foreach ($lines as $line) {