mirror of
https://github.com/friendica/friendica
synced 2025-04-29 17:44:24 +02:00
Replace deprecated calls to defaults() by ?? and ?: in src/
This commit is contained in:
parent
c0b78a9720
commit
146646c4d4
41 changed files with 239 additions and 233 deletions
|
@ -79,7 +79,7 @@ class Profiler implements ContainerInterface
|
|||
return;
|
||||
}
|
||||
|
||||
$duration = (float) (microtime(true) - $timestamp);
|
||||
$duration = floatval(microtime(true) - $timestamp);
|
||||
|
||||
if (!isset($this->performance[$value])) {
|
||||
// Prevent ugly E_NOTICE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue