add null safety to usage worker
This commit is contained in:
parent
ccf151c36b
commit
9cdb7f73a2
1 changed files with 4 additions and 4 deletions
|
@ -29,13 +29,13 @@ class UsageV1 extends Worker
|
|||
|
||||
$projectId = $this->args['projectId'];
|
||||
|
||||
$storage = $this->args['storage'];
|
||||
|
||||
$networkRequestSize = $this->args['networkRequestSize'];
|
||||
$networkResponseSize = $this->args['networkResponseSize'];
|
||||
|
||||
$storage = $this->args['storage'] ?? null;
|
||||
|
||||
$httpMethod = $this->args['httpMethod'];
|
||||
$httpRequest = $this->args['httpRequest'];
|
||||
$httpMethod = $this->args['httpMethod'] ?? null;
|
||||
$httpRequest = $this->args['httpRequest'] ?? null;
|
||||
|
||||
$functionId = $this->args['functionId'] ?? null;
|
||||
$functionExecution = $this->args['functionExecution'] ?? null;
|
||||
|
|
Loading…
Reference in a new issue