Skip to content

Commit 1a57c97

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 811872f commit 1a57c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SelectTree.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function buildNode($result, $resultMap, $disabledOptions, $hiddenOptions
174174
return $node;
175175
}
176176

177-
public function relationship(string $relationship, string $titleAttribute, string $parentAttribute, Closure $modifyQueryUsing = null): self
177+
public function relationship(string $relationship, string $titleAttribute, string $parentAttribute, ?Closure $modifyQueryUsing = null): self
178178
{
179179
$this->relationship = $relationship;
180180
$this->titleAttribute = $titleAttribute;
@@ -198,7 +198,7 @@ public function direction(string $direction): static
198198
return $this;
199199
}
200200

201-
public function parentNullValue(int|string $parentNullValue = null): static
201+
public function parentNullValue(int|string|null $parentNullValue = null): static
202202
{
203203
$this->parentNullValue = $parentNullValue;
204204

0 commit comments

Comments
 (0)