Remove superfluous variable assignment
This commit is contained in:
parent
be4752197c
commit
29dfc242d1
|
@ -12,8 +12,7 @@ final class MDConsoleInvalidHeadingNumber extends Exception {
|
|||
*/
|
||||
public function errorMessage() {
|
||||
//error message
|
||||
$errorMsg = 'Invalid heading level';
|
||||
return $errorMsg;
|
||||
return 'Invalid heading level';
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user