Skip to content

Commit 3b38c92

Browse files
authored
Merge pull request #498 from szepeviktor/patch-4
Remove null return from Code::fallback()
2 parents aa6c6f0 + 5ddb6a3 commit 3b38c92

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)