From 7398fd13af2a0d1f36eb2d657a3eb67237a75532 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Sun, 7 Nov 2021 07:46:59 -0500 Subject: [PATCH] type arrays for class and subclass --- Michelf/Markdown.php | 6 +++--- Michelf/MarkdownExtra.php | 6 +++--- composer.json | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Michelf/Markdown.php b/Michelf/Markdown.php index 61778ba..22b1438 100644 --- a/Michelf/Markdown.php +++ b/Michelf/Markdown.php @@ -1248,7 +1248,7 @@ class Markdown implements MarkdownInterface { * Define the emphasis operators with their regex matches * @var array */ - protected $em_relist = array( + protected array $em_relist = array( '' => '(?:(? '(? '(? '(?:(? '(? '(? '(?:(? '(? '(? '(?:(? '(? '(? '(?:(? '(? '(? '(?:(? '(? '(?= 9.5" + "phpunit/phpunit": ">= 9.5", + "rector/rector": "^0.11.60" } }