Skip to content

Commit b3d8df7

Browse files
committed
fix comments
1 parent 827e144 commit b3d8df7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Actions/Diagnostics/Pipes/Checks/WebshopCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function handle(array &$data, \Closure $next): array
7676
$data[] = DiagnosticData::error(
7777
'There are ' . $number_broken_order . ' closed orders with items that have no associated download link or size variant.',
7878
self::class,
79-
['Please check and assigned the needed materials.']
79+
['Please check and assign the needed materials.']
8080
);
8181
}
8282

app/Http/Requests/Order/MarkAsDeliveredOrderRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MarkAsDeliveredOrderRequest extends BaseApiRequest
2222
{
2323
public Order $order;
2424

25-
/** @var array<int,array{id:int,download_lint:string}> */
25+
/** @var array<int,array{id:int,download_link:string}> */
2626
public array $items = [];
2727

2828
public function authorize(): bool
@@ -39,7 +39,7 @@ public function authorize(): bool
3939
array_diff(
4040
array_column($this->items, 'id'),
4141
$this->order->items->pluck('id')->toArray())
42-
) > 0;
42+
) === 0;
4343
}
4444

4545
protected function prepareForValidation(): void

0 commit comments

Comments
 (0)