Add return type to `CommandTrigger::getTitle()`

This commit is contained in:
Tim Düsterhus 2023-02-02 16:41:52 +01:00
parent 599736eb59
commit 060a3b3091
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ Additional Use Grant: You may use the Licensed Work when your application
uses the Licensed Work for a purpose that does neither
directly or indirectly generate revenue.
Change Date: 2026-10-13
Change Date: 2027-02-02
Change License: Version 2 or later of the GNU General Public License as
published by the Free Software Foundation.

View File

@ -1,12 +1,12 @@
<?php
/*
* Copyright (c) 2010-2022 Tim Düsterhus.
* Copyright (c) 2010-2023 Tim Düsterhus.
*
* Use of this software is governed by the Business Source License
* included in the LICENSE file.
*
* Change Date: 2026-09-17
* Change Date: 2027-02-02
*
* On the date above, in accordance with the Business Source
* License, use of this software will be governed by version 2
@ -27,7 +27,7 @@ class CommandTrigger extends DatabaseObject implements IRouteController
/**
* @inheritDoc
*/
public function getTitle()
public function getTitle(): string
{
return $this->commandTrigger;
}