Skip to content

Commit

Permalink
Unwrap else block
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 26, 2024
1 parent cdcf30e commit f30d834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framework/src/Support/Includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public static function path(?string $filename = null): string
{
if ($filename === null) {
return Hyde::path(static::$includesDirectory);
} else {
return Hyde::path(static::$includesDirectory.'/'.static::normalizePath($filename));
}

return Hyde::path(static::$includesDirectory.'/'.static::normalizePath($filename));
}

/**
Expand Down

0 comments on commit f30d834

Please sign in to comment.