argument('limit'); $options = []; if (isset($limit) && is_numeric($limit) && $limit > 0) { $options = [0 => (int) $limit]; } else { $options = [0 => false]; } try { (new ForkingService)->backfill($options); // @phpstan-ignore argument.type return self::SUCCESS; } catch (\Exception $e) { Log::error($e->getTraceAsString()); $this->error($e->getMessage()); return self::FAILURE; } } }