Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored and github-actions[bot] committed Jul 18, 2023
1 parent 50fa161 commit 181e8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function contents(string $set, string $name): string
throw SvgNotFound::missing($set, $name);
}

private function getSvgFromPath(string $name, string $path, ?string $disk = null): string
private function getSvgFromPath(string $name, string $path, string $disk = null): string
{
$contents = trim($this->filesystem($disk)->get(sprintf(
'%s/%s.svg',
Expand Down Expand Up @@ -250,7 +250,7 @@ private function buildClass(string $set, string $class): string
/**
* @return \Illuminate\Contracts\Filesystem\Filesystem|Filesystem
*/
private function filesystem(?string $disk = null)
private function filesystem(string $disk = null)
{
return $this->disks && $disk ? $this->disks->disk($disk) : $this->filesystem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/IconsManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function build(array $sets): array
/**
* @return \Illuminate\Contracts\Filesystem\Filesystem|Filesystem
*/
private function filesystem(?string $disk = null)
private function filesystem(string $disk = null)
{
return $this->disks && $disk ? $this->disks->disk($disk) : $this->filesystem;
}
Expand Down

0 comments on commit 181e8f5

Please sign in to comment.