fix formatting
This commit is contained in:
parent
6b11fa26ce
commit
c0119e6a0d
|
@ -355,7 +355,7 @@ App::shutdown()
|
|||
|
||||
$fileSize = 0;
|
||||
$file = $request->getFiles('file');
|
||||
if(!empty($file)) {
|
||||
if (!empty($file)) {
|
||||
$fileSize = (\is_array($file['size']) && isset($file['size'][0])) ? $file['size'][0] : $file['size'];
|
||||
}
|
||||
|
||||
|
|
|
@ -81,10 +81,10 @@ class Stats
|
|||
{
|
||||
$projectId = $this->params['projectId'] ?? '';
|
||||
$tags = ",projectId={$projectId},version=" . App::getEnv('_APP_VERSION', 'UNKNOWN');
|
||||
|
||||
|
||||
// the global namespace is prepended to every key (optional)
|
||||
$this->statsd->setNamespace($this->namespace);
|
||||
|
||||
|
||||
$httpRequest = $this->params['project.{scope}.network.requests'] ?? 0;
|
||||
$httpMethod = $this->params['httpMethod'] ?? '';
|
||||
if ($httpRequest >= 1) {
|
||||
|
|
Loading…
Reference in a new issue