Rev 1189 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1189 | Rev 1201 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | private $severity; |
31 | private $severity; |
32 | 32 | ||
33 | /** |
33 | /** |
34 | * @var string |
34 | * @var string |
35 | */ |
35 | */ |
36 | private $message; |
36 | private $message; // TODO: Rename this to $htmlMessage everywhere |
37 | 37 | ||
38 | /** |
38 | /** |
39 | * @param string $severity One of OK, INFO, WARN, ERR, or CRIT |
39 | * @param string $severity One of OK, INFO, WARN, ERR, or CRIT |
40 | * @param string $message |
40 | * @param string $message |
41 | * @throws OIDplusException |
41 | * @throws OIDplusException |
Line 97... | Line 97... | ||
97 | 97 | ||
98 | /** |
98 | /** |
99 | * @return string |
99 | * @return string |
100 | */ |
100 | */ |
101 | public function getMessage(): string { |
101 | public function getMessage(): string { |
- | 102 | // TODO: Rename this method to getHtmlMessage() everywhere |
|
102 | return $this->message; |
103 | return $this->message; |
103 | } |
104 | } |
104 | 105 | ||
105 | } |
106 | } |