mirror of
https://github.com/friendica/friendica
synced 2025-05-06 06:24:11 +02:00
Parameters should be float ...
This commit is contained in:
parent
5fb83d0632
commit
20ded2b35a
2 changed files with 6 additions and 7 deletions
|
@ -415,12 +415,9 @@ class App
|
|||
* @throws HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public function runFrontend(App\Module $module, App\Router $router, IPConfig $pconfig, Authentication $auth, App\Page $page, int $start_time = 0)
|
||||
public function runFrontend(App\Module $module, App\Router $router, IPConfig $pconfig, Authentication $auth, App\Page $page, float $start_time)
|
||||
{
|
||||
if ($start_time != 0) {
|
||||
$this->profiler->set($start_time, 'start');
|
||||
}
|
||||
|
||||
$this->profiler->set($start_time, 'start');
|
||||
$this->profiler->set(microtime(true), 'classinit');
|
||||
|
||||
$moduleName = $module->getName();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue