Remove unused variable assignments
This commit is contained in:
@ -3,7 +3,7 @@ declare(strict_types = 1);
|
||||
|
||||
/**
|
||||
* Exception thrown in case the main entity of a page (e.g. an object, an institution etc.)
|
||||
* are not set public.
|
||||
* could not be set public.
|
||||
*/
|
||||
final class MDcouldNotSetPublic extends Exception {
|
||||
/**
|
||||
@ -13,8 +13,7 @@ final class MDcouldNotSetPublic extends Exception {
|
||||
*/
|
||||
public function errorMessage() {
|
||||
//error message
|
||||
$errorMsg = 'Could not set this to public.';
|
||||
return $errorMsg;
|
||||
return 'Could not set this to public.';
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user