Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 2, 2024
1 parent fd325ea commit cf73271
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/Utils/Finder.filters.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ test('custom filter', function () {
});


test('custom filter', function () {
function filter(FileInfo $file)
{
return $file->getBaseName() === 'file.txt';
}
function filter(FileInfo $file)
{
return $file->getBaseName() === 'file.txt';
}


test('custom filter', function () {
$finder = Finder::findFiles('*')
->from('fixtures.finder')
->filter('filter');
Expand Down
2 changes: 1 addition & 1 deletion tests/Utils/Type.fromReflection.function.82.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ Assert::same('int', (string) $type);


// disjunctive normal form
$type = Type::fromReflection(new ReflectionFunction(function (): (Bar & Foo)|string|int|null {}));
$type = Type::fromReflection(new ReflectionFunction(function (): (Bar & Foo) | string | int | null {}));
Assert::same('(Bar&Foo)|string|int|null', (string) $type);

0 comments on commit cf73271

Please sign in to comment.