mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Utilise constant arrays over static vars
This commit is contained in:
@ -28,7 +28,7 @@ class CommonMarkTestWeak extends CommonMarkTestStrict
|
||||
*/
|
||||
public function __construct($name = null, array $data = [], $dataName = '')
|
||||
{
|
||||
$textLevelElements = \array_keys(Element::$TEXT_LEVEL_ELEMENTS);
|
||||
$textLevelElements = \array_keys(Element::TEXT_LEVEL_ELEMENTS);
|
||||
|
||||
\array_walk(
|
||||
$textLevelElements,
|
||||
|
Reference in New Issue
Block a user