Skip to content

Commit 5ddb6a3

Browse files
authored
Remove null return from Code::fallback()
As it never returns null.
1 parent ed2c565 commit 5ddb6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Slides/Detectors/Code.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function detect(): ?EmbedCode
1616
?: $this->fallback();
1717
}
1818

19-
private function fallback(): ?EmbedCode
19+
private function fallback(): EmbedCode
2020
{
2121
$uri = $this->extractor->getUri();
2222

0 commit comments

Comments
 (0)