aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Log.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Log.php')
-rw-r--r--app/Models/Log.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/app/Models/Log.php b/app/Models/Log.php
index df2de72ac..72208513d 100644
--- a/app/Models/Log.php
+++ b/app/Models/Log.php
@@ -1,26 +1,29 @@
<?php
class FreshRSS_Log extends Minz_Model {
+ /** @var string */
private $date;
+ /** @var string */
private $level;
+ /** @var string */
private $information;
- public function date() {
+ public function date(): string {
return $this->date;
}
- public function level() {
+ public function level(): string {
return $this->level;
}
- public function info() {
+ public function info(): string {
return $this->information;
}
- public function _date($date) {
+ public function _date(string $date): void {
$this->date = $date;
}
- public function _level($level) {
+ public function _level(string $level): void {
$this->level = $level;
}
- public function _info($information) {
+ public function _info(string $information): void {
$this->information = $information;
}
}