more action-menu and info-box testing for overviews

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-25 20:13:13 +01:00
parent cdc4eccdd9
commit fc4725cd61
7 changed files with 58 additions and 25 deletions

View File

@@ -2,6 +2,8 @@
namespace Froxlor\UI\Callbacks;
use Froxlor\PhpHelper;
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
@@ -42,4 +44,9 @@ class Text
{
return \Froxlor\User::getCorrectFullUserDetails($attributes);
}
public static function size(string $data, array $attributes): string
{
return PhpHelper::sizeReadable($data, null, 'bi');
}
}