diff --git a/src/core/etl/src/Flow/ETL/Function/Folded.php b/src/core/etl/src/Flow/ETL/Function/Folded.php index 305039bdf..3a6e1739a 100644 --- a/src/core/etl/src/Flow/ETL/Function/Folded.php +++ b/src/core/etl/src/Flow/ETL/Function/Folded.php @@ -16,7 +16,7 @@ public function __construct(private readonly ScalarFunction|string $string) { } - public function eval(Row $row): mixed + public function eval(Row $row) : mixed { $string = (new Parameter($this->string))->asString($row); @@ -27,9 +27,8 @@ public function eval(Row $row): mixed return u($string)->folded()->toString(); } - public function returns(): Type + public function returns() : Type { return type_string(); } } - diff --git a/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/FoldedTest.php b/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/FoldedTest.php index 88f4a2de9..44f60dbb6 100644 --- a/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/FoldedTest.php +++ b/src/core/etl/tests/Flow/ETL/Tests/Unit/Function/FoldedTest.php @@ -5,7 +5,7 @@ namespace Flow\ETL\Tests\Unit\Function; use function Flow\ETL\DSL\row; -use function Flow\ETL\DSL\{lit, folded}; +use function Flow\ETL\DSL\{folded, lit}; use Flow\ETL\Tests\FlowTestCase; final class FoldedTest extends FlowTestCase diff --git a/web/landing/src/Flow/Website/Service/Markdown/LeagueCommonMarkConverterFactory.php b/web/landing/src/Flow/Website/Service/Markdown/LeagueCommonMarkConverterFactory.php index e27867799..619078fbe 100644 --- a/web/landing/src/Flow/Website/Service/Markdown/LeagueCommonMarkConverterFactory.php +++ b/web/landing/src/Flow/Website/Service/Markdown/LeagueCommonMarkConverterFactory.php @@ -9,10 +9,9 @@ use League\CommonMark\Extension\CommonMark\Node\Inline\Link; use League\CommonMark\Extension\ExternalLink\ExternalLinkExtension; use League\CommonMark\Extension\FrontMatter\FrontMatterExtension; -use League\CommonMark\Extension\HeadingPermalink\{HeadingPermalinkExtension, HeadingPermalinkRenderer}; +use League\CommonMark\Extension\HeadingPermalink\{HeadingPermalinkExtension}; use League\CommonMark\Extension\Mention\MentionExtension; use League\CommonMark\Extension\Table\TableExtension; -use League\CommonMark\Normalizer\SlugNormalizer; final class LeagueCommonMarkConverterFactory {