Remove superfluous variable assignments

This commit is contained in:
2022-09-15 21:38:41 +02:00
parent c38f0146dc
commit 23232f4e6a
5 changed files with 9 additions and 15 deletions

View File

@ -12,8 +12,7 @@ final class MDJsonEncodingFailedException extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'Failed to encode JSON data.';
return $errorMsg;
return 'Failed to encode JSON data.';
}
}