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