Skip to content

Commit a282798

Browse files
committed
Adding a couple of missing type annotations.
1 parent b05b102 commit a282798

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Michelf/Markdown.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ public static function defaultTransform($text) {
127127
* Needed to insert a maximum bracked depth while converting to PHP.
128128
*/
129129
protected int $nested_brackets_depth = 6;
130-
protected $nested_brackets_re;
130+
protected string $nested_brackets_re;
131131

132132
protected int $nested_url_parenthesis_depth = 4;
133-
protected $nested_url_parenthesis_re;
133+
protected string $nested_url_parenthesis_re;
134134

135135
/**
136136
* Table of hash values for escaped characters:
@@ -167,7 +167,7 @@ public function __construct() {
167167
* Internal hashes used during transformation.
168168
*/
169169
protected array $urls = array();
170-
protected $titles = array();
170+
protected array $titles = array();
171171
protected array $html_hashes = array();
172172

173173
/**

0 commit comments

Comments
 (0)