From c9d8a62eaa83917752c0df61af53d0ce43e67370 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 13 May 2023 16:58:12 +0200 Subject: [PATCH] fix null argument --- _define.php | 2 +- dcstore.xml | 4 ++-- src/Prepend.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_define.php b/_define.php index ebccbbd..876142d 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Enhance post content', 'Add features to words in post content', 'Jean-Christian Denis and Contributors', - '2023.05.13', + '2023.05.13.1', [ 'requires' => [ ['php', '8.1'], diff --git a/dcstore.xml b/dcstore.xml index 13f7768..aebfbed 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Enhance post content - 2023.05.13 + 2023.05.13.1 Jean-Christian Denis and Contributors Add features to words in post content - https://github.com/JcDenis/enhancePostContent/releases/download/v2023.05.13/plugin-enhancePostContent.zip + https://github.com/JcDenis/enhancePostContent/releases/download/v2023.05.13.1/plugin-enhancePostContent.zip 2.26 https://plugins.dotaddict.org/dc2/details/enhancePostContent https://github.com/JcDenis/enhancePostContent diff --git a/src/Prepend.php b/src/Prepend.php index 3e4d81b..f91bdc3 100644 --- a/src/Prepend.php +++ b/src/Prepend.php @@ -45,7 +45,7 @@ class Prepend extends dcNsProcess 'epccss', 'epc.css', '^epc\.css', - function (string $args): void { + function (?string $args): void { $css = []; foreach (Epc::getFilters()->dump() as $filter) { if ('' == $filter->class || '' == $filter->style) {