minder change
This commit is contained in:
@@ -832,7 +832,7 @@ final class MiningRepository
|
||||
return is_array($row) ? $this->normalizeRow($row) : null;
|
||||
}
|
||||
|
||||
public function purchaseMiner(string $projectKey, int $offerId, array $payload): array
|
||||
public function purchaseMiner(string $projectKey, ?int $offerId, array $payload): array
|
||||
{
|
||||
if ($this->driver === 'pgsql') {
|
||||
$stmt = $this->pdo->prepare(
|
||||
@@ -1430,7 +1430,7 @@ final class MiningRepository
|
||||
];
|
||||
}
|
||||
|
||||
private function normalizePurchasedPayload(string $projectKey, int $offerId, array $payload): array
|
||||
private function normalizePurchasedPayload(string $projectKey, ?int $offerId, array $payload): array
|
||||
{
|
||||
return [
|
||||
'project_key' => $projectKey,
|
||||
|
||||
Reference in New Issue
Block a user