Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bnomei authored and github-actions[bot] committed Feb 7, 2024
1 parent b154eb8 commit 6bad8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function blueprints(): array
return $this->registry('blueprints');
}

public function classes(string $folder = null): array
public function classes(?string $folder = null): array
{
if ($folder) {
$this->options['classes']['folder'] = $folder;
Expand Down Expand Up @@ -432,7 +432,7 @@ public static function singleton(array $options = []): self
*
* @return void
*/
private function load(array $classmap, string $base = null)
private function load(array $classmap, ?string $base = null)
{
// convert all classnames to lowercase
$classmap = array_change_key_case($classmap);
Expand Down

0 comments on commit 6bad8e6

Please sign in to comment.