Skip to content

Commit

Permalink
Merge into 'elseif'
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 26, 2024
1 parent 6cd529f commit 130dd77
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/framework/src/Support/Includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,10 @@ public static function markdown(string $filename, ?string $default = null): ?Htm

if (Filesystem::exists($path)) {
$markdown = Filesystem::get($path);
} elseif ($default === null) {
$markdown = null;
} else {
if ($default === null) {
$markdown = null;
} else {
$markdown = $default;
}
$markdown = $default;
}

if ($markdown === null) {
Expand Down

0 comments on commit 130dd77

Please sign in to comment.