Skip to content

Commit 0131ab0

Browse files
stefanzweifelgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 03e7287 commit 0131ab0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Actions/ShiftHeadingLevelInDocumentAction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public function execute(Document $document, int $baseHeadingLevel): Document
4747
/**
4848
* @param array<Heading> $headings
4949
*/
50-
public function findLowestHeadingLevel(array $headings): int|null
50+
public function findLowestHeadingLevel(array $headings): ?int
5151
{
5252
return array_reduce(
5353
$headings,
54-
function (int|null $level, Heading $heading) {
54+
function (?int $level, Heading $heading) {
5555
if ($level === null) {
5656
return $heading->getLevel();
5757
}

app/Commands/UpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function handle(AddReleaseNotesToChangelogAction $addReleaseNotesToChange
9393
}
9494
}
9595

96-
protected function getReleaseNotes(): null|string
96+
protected function getReleaseNotes(): ?string
9797
{
9898
if ($this->option('parse-release-notes')) {
9999
return null;

0 commit comments

Comments
 (0)