N°4107 - DBObject::GetName() is now final

This commit is contained in:
Timmy38
2025-08-26 14:39:43 +02:00
committed by GitHub
parent d48bc15211
commit 738664e560

View File

@@ -1748,9 +1748,9 @@ abstract class DBObject implements iDisplay
* @throws \CoreException * @throws \CoreException
* @since 3.0.0 N°4106 Method should not be overloaded anymore for performances reasons. It will be set final in 3.1.0 (N°4107) * @since 3.0.0 N°4106 Method should not be overloaded anymore for performances reasons. It will be set final in 3.1.0 (N°4107)
* @since 3.0.0 N°580 New $sType parameter * @since 3.0.0 N°580 New $sType parameter
* * @since 3.3.0 N°4107 Should never be overriden
*/ */
public function GetName($sType = FriendlyNameType::SHORT) public final function GetName($sType = FriendlyNameType::SHORT)
{ {
return utils::EscapeHtml($this->GetRawName($sType)); return utils::EscapeHtml($this->GetRawName($sType));
} }