mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Changes:
- added missing type-hints - avoided local variables - added some documentation - changed double-quotes to single
This commit is contained in:
parent
c0c15644a3
commit
06b15a6ed0
29 changed files with 191 additions and 204 deletions
|
@ -26,7 +26,7 @@ function rendertime_init_1(App $a)
|
|||
{
|
||||
}
|
||||
|
||||
function rendertime_addon_admin(App $a, &$o)
|
||||
function rendertime_addon_admin(App $a, string &$o)
|
||||
{
|
||||
$t = Renderer::getMarkupTemplate("admin.tpl", "addon/rendertime/");
|
||||
|
||||
|
@ -47,9 +47,8 @@ function rendertime_addon_admin_post(App $a)
|
|||
* @param App $a
|
||||
* @param string $o
|
||||
*/
|
||||
function rendertime_page_end(App $a, &$o)
|
||||
function rendertime_page_end(App $a, string &$o)
|
||||
{
|
||||
|
||||
$profiler = DI::profiler();
|
||||
|
||||
$duration = microtime(true) - $profiler->get('start');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue