Skip to content

Commit 91c09e6

Browse files
committed
Remove unnecessary part in regular expression for unordered list
1 parent 7186be3 commit 91c09e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ParameterProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private function populateParametersFromKey() {
9595

9696
if ( $paramMsg->exists() ) {
9797

98-
$paramLines = preg_replace( '/^\s*\*\s*/', '', explode( "\n", preg_replace( '/^[\s\n]*<!--[\s\S]*?-->[\s\n]*/', '', $paramMsg->plain() ) ) );
98+
$paramLines = preg_replace( '/^\*\s*/', '', explode( "\n", preg_replace( '/^[\s\n]*<!--[\s\S]*?-->[\s\n]*/', '', $paramMsg->plain() ) ) );
9999
$paramSet = array_map( [ $this, 'parseParamLine' ], $paramLines );
100100
$paramMap = array_combine( array_column( $paramSet, 0 ), $paramSet );
101101

0 commit comments

Comments
 (0)