Skip to content

Commit

Permalink
fix test stan was right
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Jul 1, 2024
1 parent 601621f commit 389b709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Domains/Documents/Transformers/DocXTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ public function handle(Document $document): array
/** @phpstan-ignore-next-line */
$content_flattened = collect($content)->map(

Check failure on line 81 in app/Domains/Documents/Transformers/DocXTransformer.php

View workflow job for this annotation

GitHub Actions / ci (8.2)

No error to ignore is reported on line 81.
function ($item) {
if($item instanceof TextRun) {
if ($item instanceof TextRun) {
return str($item->getText())->trim()->toString();
}

return $item;
}
)->filter(
Expand Down

0 comments on commit 389b709

Please sign in to comment.