Skip to content

Commit

Permalink
fix: native_function_invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Oct 22, 2024
1 parent 98a6c82 commit 741715f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AssetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function add(AssetElementContract|array $assets): static
$this->assets = array_unique(
array_merge(
$this->assets,
is_array($assets) ? $assets : [$assets]
\is_array($assets) ? $assets : [$assets]
)
);

Expand Down
2 changes: 1 addition & 1 deletion src/Traits/HasLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function getLink(): string
{
$link = $this->link;

if (! is_null($this->getVersion())) {
if (! \is_null($this->getVersion())) {
$separator = str_contains($link, '?') ? '&' : '?';

return $link . $separator . 'v=' . $this->getVersion();
Expand Down

0 comments on commit 741715f

Please sign in to comment.