Skip to content

Commit 9ab5a81

Browse files
committed
Fix type
1 parent 226f9bd commit 9ab5a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CloudTasksQueue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function ($payload, $queue) {
9595
*/
9696
public function pushRaw($payload, $queue = null, array $options = [])
9797
{
98-
$delay = ! empty($options['delay']) ? $options['delay'] : 0;
98+
$delay = !empty($options['delay']) ? $options['delay'] : 0;
9999

100100
$this->pushToCloudTasks($queue, $payload, $delay);
101101
}
@@ -270,7 +270,7 @@ public function getHandler(): string
270270
return Config::getHandler($this->config['handler']);
271271
}
272272

273-
public function getAudience(): string
273+
public function getAudience(): ?string
274274
{
275275
return Config::getAudience($this->config);
276276
}

0 commit comments

Comments
 (0)