From 741715fb7602fb03fc7ba23ba0f9aee13ebb0372 Mon Sep 17 00:00:00 2001 From: LT Date: Tue, 22 Oct 2024 22:24:08 +0300 Subject: [PATCH] fix: native_function_invocation --- src/AssetManager.php | 2 +- src/Traits/HasLink.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AssetManager.php b/src/AssetManager.php index 34208de..7b2f746 100644 --- a/src/AssetManager.php +++ b/src/AssetManager.php @@ -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] ) ); diff --git a/src/Traits/HasLink.php b/src/Traits/HasLink.php index 0226721..bbc09d4 100644 --- a/src/Traits/HasLink.php +++ b/src/Traits/HasLink.php @@ -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();