Skip to content

Commit

Permalink
Merge pull request #498 from szepeviktor/patch-4
Browse files Browse the repository at this point in the history
Remove null return from Code::fallback()
  • Loading branch information
oscarotero authored Sep 7, 2022
2 parents aa6c6f0 + 5ddb6a3 commit 3b38c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapters/Slides/Detectors/Code.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function detect(): ?EmbedCode
?: $this->fallback();
}

private function fallback(): ?EmbedCode
private function fallback(): EmbedCode
{
$uri = $this->extractor->getUri();

Expand Down

0 comments on commit 3b38c92

Please sign in to comment.