Skip to content

Commit

Permalink
fix: PHPFixer clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
f-lapinski committed Feb 27, 2025
1 parent d5da75f commit fcc5e8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/core/etl/src/Flow/ETL/Function/ScalarFunctionChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,23 +489,23 @@ public function startsWith(ScalarFunction|string $needle) : self
}

/**
* Returns the contents found after the first occurrence of the given string
* Returns the contents found after the first occurrence of the given string.
*/
public function stringAfter(ScalarFunction|string $needle, ScalarFunction|bool $includeNeedle = false) : self
{
return new StringAfter($this, $needle, $includeNeedle);
}

/**
* Returns the contents found after the last occurrence of the given string
* Returns the contents found after the last occurrence of the given string.
*/
public function stringAfterLast(ScalarFunction|string $needle, ScalarFunction|bool $includeNeedle = false) : self
{
return new StringAfterLast($this, $needle, $includeNeedle);
}

/**
* Returns the contents found before the first occurrence of the given string
* Returns the contents found before the first occurrence of the given string.
*/
public function stringBefore(ScalarFunction|string $needle, ScalarFunction|bool $includeNeedle = false) : self
{
Expand All @@ -522,7 +522,7 @@ public function stringFold() : self

/**
* Covert string to a style from enum list, passed in parameter.
* Can be string "upper" or StringStyles::UPPER for Upper (example)
* Can be string "upper" or StringStyles::UPPER for Upper (example).
*/
public function stringStyle(ScalarFunction|string|StringStyles $style) : self
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class DbalPlatformTest extends TestCase
{
public static function provideSQLitePlatform() : iterable
{
yield 'legacy' => ['Doctrine\DBAL\Platforms\SqlitePlatform'];
yield 'legacy' => [\Doctrine\DBAL\Platforms\SqlitePlatform::class];
yield 'new' => [SQLitePlatform::class];
}

Expand Down

0 comments on commit fcc5e8f

Please sign in to comment.