fix code
This commit is contained in:
@@ -25,10 +25,10 @@ class DailyMovingMachinesService
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
public function run(): Collection
|
||||
public function run(): array
|
||||
{
|
||||
try {
|
||||
return collect( $this->sendRequest());
|
||||
return $this->sendRequest();
|
||||
} catch (Exception $e) {
|
||||
Log::channel($this->channelName)
|
||||
->error(get_class($this),
|
||||
|
||||
Reference in New Issue
Block a user