Skip to content

Commit 63aaa67

Browse files
committed
Fix code styling
1 parent b31a2cb commit 63aaa67

16 files changed

Lines changed: 21 additions & 20 deletions

src/Contract/ContractParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,4 +842,4 @@ public static function substituteAliases(TypeNode $node, array $aliases): TypeNo
842842

843843
return $node;
844844
}
845-
}
845+
}

src/Internal/Checker/InlineChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,4 @@ private static function shouldValidateType(TypeNode $node, array $config): bool
366366

367367
return (bool) ($config['scalars'] ?? false);
368368
}
369-
}
369+
}

src/Internal/DocblockNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ function (array $matches): string {
6161
$doc
6262
) ?? $doc;
6363
}
64-
}
64+
}

src/Internal/PathMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,4 @@ private static function getCompiledPatterns(array $globs, string $baseDir, strin
385385

386386
return self::$compiledExcludesCache[$cacheKey] = $compiled;
387387
}
388-
}
388+
}

src/Internal/StreamWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,4 +714,4 @@ private static function extractAndSeedFileMetadata(array $stmts, string $filePat
714714

715715
SpecialTypeResolver::seedFileMetadata($filePath, $namespace, $imports, $classTraitUseDocs);
716716
}
717-
}
717+
}

src/Validator/ArrayValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ public function validate(mixed $value, TypeNode $node, string $context, TypeVali
4747

4848
return null;
4949
}
50-
}
50+
}

src/Wrapper/CallableWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,4 @@ private static function validateCallbackArguments(CallableTypeNode $typeNode, ar
175175
}
176176
}
177177
}
178-
}
178+
}

src/Wrapper/IterableWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@ private static function wrapGenerator(iterable $iterable, \Closure $typeCheckCal
163163
yield $key => $value;
164164
}
165165
}
166-
}
166+
}

tests/Fixtures/Collections/AnimalElementCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
*/
1414
class AnimalElementCollection extends BaseElementCollection
1515
{
16-
}
16+
}

tests/Fixtures/Collections/BaseElementCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ public function count(): int
7575
{
7676
return \count($this->elements);
7777
}
78-
}
78+
}

0 commit comments

Comments
 (0)