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

@@ -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>).';
}
}
@@ -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>).';
}
}
@@ -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.';
}
}
@@ -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.';
}
}