mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(api): set the correct version in since annotation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
c1452aa6bd
commit
d0fb60891d
1 changed files with 5 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ use OCP\EventDispatcher\Event;
|
|||
/**
|
||||
* Even for when a log item is being logged
|
||||
*
|
||||
* @since 26.0.7
|
||||
* @since 26.0.8
|
||||
*/
|
||||
class BeforeMessageLoggedEvent extends Event {
|
||||
private int $level;
|
||||
|
|
@ -36,7 +36,7 @@ class BeforeMessageLoggedEvent extends Event {
|
|||
private $message;
|
||||
|
||||
/**
|
||||
* @since 28.0.0
|
||||
* @since 26.0.8
|
||||
*/
|
||||
public function __construct(string $app, int $level, $message) {
|
||||
$this->level = $level;
|
||||
|
|
@ -48,7 +48,7 @@ class BeforeMessageLoggedEvent extends Event {
|
|||
* Get the level of the log item
|
||||
*
|
||||
* @return int
|
||||
* @since 28.0.0
|
||||
* @since 26.0.8
|
||||
*/
|
||||
public function getLevel(): int {
|
||||
return $this->level;
|
||||
|
|
@ -59,7 +59,7 @@ class BeforeMessageLoggedEvent extends Event {
|
|||
* Get the app context of the log item
|
||||
*
|
||||
* @return string
|
||||
* @since 28.0.0
|
||||
* @since 26.0.8
|
||||
*/
|
||||
public function getApp(): string {
|
||||
return $this->app;
|
||||
|
|
@ -70,7 +70,7 @@ class BeforeMessageLoggedEvent extends Event {
|
|||
* Get the message of the log item
|
||||
*
|
||||
* @return string
|
||||
* @since 28.0.0
|
||||
* @since 26.0.8
|
||||
*/
|
||||
public function getMessage(): string {
|
||||
return $this->message;
|
||||
|
|
|
|||
Loading…
Reference in a new issue