Skip to content

Commit 8642d61

Browse files
author
Simon Bigelmayr
committed
toSerializableArray
1 parent 6824615 commit 8642d61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/LightcyclerSampleSheet/RelativeQuantificationSample.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(
3030
}
3131

3232
/** @return list<string> */
33-
public function serialize(string $coordinatesString): array
33+
public function toSerializableArray(string $coordinatesString): array
3434
{
3535
$replicationOf = $this->replicationOf instanceof Coordinates
3636
? "\"{$this->replicationOf->toString()}\""

Diff for: src/LightcyclerSampleSheet/RelativeQuantificationSheet.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class RelativeQuantificationSheet
2020
public function generate(Collection $samples): string
2121
{
2222
return $samples
23-
->map(fn (RelativeQuantificationSample $well, string $coordinateFromKey): array => $well->serialize($coordinateFromKey))
23+
->map(fn (RelativeQuantificationSample $well, string $coordinateFromKey): array => $well->toSerializableArray($coordinateFromKey))
2424
->prepend(self::HEADER_COLUMNS)
2525
->map(fn (array $row): string => implode(self::TAB_SEPARATOR, $row))
2626
->implode(self::WINDOWS_NEW_LINE)

0 commit comments

Comments
 (0)