mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-23 04:38:01 -05:00
* - Add test and type hinting - pass PhpStan Level 9 * fix dump * fix style * fix visibility * fix style * add test * add test * add test * add test * add test * Simplify * cleaning after test * remove space * fix style * use specific log file for test * Remarque's from Alkarex * A few more details --------- Co-authored-by: Luc <sanchezluc+freshrss@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
30 lines
590 B
PHP
30 lines
590 B
PHP
<?php
|
|
|
|
class FreshRSS_Log extends Minz_Model {
|
|
/** @var string */
|
|
private $date;
|
|
/** @var string */
|
|
private $level;
|
|
/** @var string */
|
|
private $information;
|
|
|
|
public function date(): string {
|
|
return $this->date;
|
|
}
|
|
public function level(): string {
|
|
return $this->level;
|
|
}
|
|
public function info(): string {
|
|
return $this->information;
|
|
}
|
|
public function _date(string $date): void {
|
|
$this->date = $date;
|
|
}
|
|
public function _level(string $level): void {
|
|
$this->level = $level;
|
|
}
|
|
public function _info(string $information): void {
|
|
$this->information = $information;
|
|
}
|
|
}
|