Added audit log interface

- Displays the currently tracked activities in the system.

Related to #2173 and #1167
This commit is contained in:
Dan Brown
2020-09-19 12:06:45 +01:00
parent e5f0b4dd85
commit 78bf044a7a
13 changed files with 351 additions and 8 deletions

View File

@ -238,10 +238,8 @@ class Entity extends Ownable
/**
* Gets a limited-length version of the entities name.
* @param int $length
* @return string
*/
public function getShortName($length = 25)
public function getShortName(int $length = 25): string
{
if (mb_strlen($this->name) <= $length) {
return $this->name;