From a282798e45dfb3eacf9e9d1b7e608953cdc8c249 Mon Sep 17 00:00:00 2001 From: Michel Fortin Date: Sun, 25 Sep 2022 23:02:54 -0400 Subject: [PATCH] Adding a couple of missing type annotations. --- Michelf/Markdown.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Michelf/Markdown.php b/Michelf/Markdown.php index 4cb6b03..10de928 100644 --- a/Michelf/Markdown.php +++ b/Michelf/Markdown.php @@ -127,10 +127,10 @@ class Markdown implements MarkdownInterface { * Needed to insert a maximum bracked depth while converting to PHP. */ protected int $nested_brackets_depth = 6; - protected $nested_brackets_re; + protected string $nested_brackets_re; protected int $nested_url_parenthesis_depth = 4; - protected $nested_url_parenthesis_re; + protected string $nested_url_parenthesis_re; /** * Table of hash values for escaped characters: @@ -167,7 +167,7 @@ class Markdown implements MarkdownInterface { * Internal hashes used during transformation. */ protected array $urls = array(); - protected $titles = array(); + protected array $titles = array(); protected array $html_hashes = array(); /**