Remove unused variable assignments

This commit is contained in:
2022-09-15 21:06:32 +02:00
parent 80fd164439
commit ac9b12618d
38 changed files with 42 additions and 83 deletions

View File

@ -13,8 +13,7 @@ final class MDPageNotInAggregatedException extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'There is no entity to be shown here (id: <b>' . $this->getMessage() . '</b>).';
return $errorMsg;
return 'There is no entity to be shown here (id: <b>' . $this->getMessage() . '</b>).';
}
}

View File

@ -13,8 +13,7 @@ final class MDmainEntityNotPublicException extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'There is no entity to be shown here (id: <b>' . $this->getMessage() . '</b>).';
return $errorMsg;
return 'There is no entity to be shown here (id: <b>' . $this->getMessage() . '</b>).';
}
}

View File

@ -12,8 +12,7 @@ final class MDpageParameterMissingException extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'Parameter: <b>' . $this->getMessage() . '</b> is required but missing.';
return $errorMsg;
return 'Parameter: <b>' . $this->getMessage() . '</b> is required but missing.';
}
}

View File

@ -12,8 +12,7 @@ final class MDpageParameterNotNumericException extends Exception {
*/
public function errorMessage() {
//error message
$errorMsg = 'Parameter: <b>' . $this->getMessage() . '</b> is not a valid, numeric values.';
return $errorMsg;
return 'Parameter: <b>' . $this->getMessage() . '</b> is not a valid, numeric values.';
}
}