Skip to content

Commit b2c5e75

Browse files
committed
N°4107 - DBObject::GetName() is now final
1 parent 8bca3ac commit b2c5e75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/dbobject.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,9 +1748,9 @@ final static public function GetClassDescription($sClass)
17481748
* @throws \CoreException
17491749
* @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)
17501750
* @since 3.0.0 N°580 New $sType parameter
1751-
*
1751+
* @since 3.3.0 N°4107 Should never be overriden
17521752
*/
1753-
public function GetName($sType = FriendlyNameType::SHORT)
1753+
public final function GetName($sType = FriendlyNameType::SHORT)
17541754
{
17551755
return utils::EscapeHtml($this->GetRawName($sType));
17561756
}

0 commit comments

Comments
 (0)