Remove superfluous variable assignments
This commit is contained in:
@ -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.';
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user