Remove unused variable assignments

This commit is contained in:
jrenslin committed 2022-09-15 21:06:32 +02:00
1 parent 80fd164439
commit ac9b12618d
38 files changed
+42 -83

No files matched your search

@@ -2,8 +2,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.
* Exception thrown in case an update failed.
*/
final class MDcouldNotSaveException extends Exception {
/**
@@ -13,8 +12,7 @@ final class MDcouldNotSaveException extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'Could not save.';
return $errorMsg;
return 'Could not save.';
}
}