Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Riley19280 authored and github-actions[bot] committed Jan 12, 2024
1 parent b8fcc88 commit 7b9c5fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/CodeStencilHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function multilineComment(string|array $comment): static
return $this->foreach($lines, fn(self $s, string $line) => $s->line($line));
}

public function phpdoc(string|array $summary = null, string|array $description = null, array $tags = null): static
public function phpdoc(string|array|null $summary = null, string|array|null $description = null, ?array $tags = null): static
{
if ($summary === null) {
$summary = [];
Expand Down
7 changes: 4 additions & 3 deletions src/Stencil.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
namespace CodeStencil;

use Closure;
use function CodeStencil\Utility\array_flatten;
use Illuminate\Support\Traits\Conditionable;
use Illuminate\Support\Traits\Macroable;

use function CodeStencil\Utility\array_flatten;

class Stencil
{
use CodeStencilHelpers;
use FileHeaderStencil;
use Macroable;
use Conditionable;
use FileHeaderStencil;
use LaravelStringHelpers;
use Macroable;

protected string $content = '';

Expand Down

0 comments on commit 7b9c5fd

Please sign in to comment.