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 14, 2024
1 parent 76ae918 commit 3a3dfc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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
3 changes: 2 additions & 1 deletion src/Stencil.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
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;
Expand Down

0 comments on commit 3a3dfc8

Please sign in to comment.