Remove superfluous variable assignment

This commit is contained in:
Joshua Ramon Enslin 2022-09-15 21:16:33 +02:00
parent be4752197c
commit 29dfc242d1
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -12,8 +12,7 @@ final class MDConsoleInvalidHeadingNumber extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'Invalid heading level';
return $errorMsg;
return 'Invalid heading level';
}
}