From 6d376c54c8fb8b047f4976c69f78c2616e2c3496 Mon Sep 17 00:00:00 2001 From: Marty Friedel <1491079+martyf@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:22:20 +0930 Subject: [PATCH] Remove ray --- src/Support/Iconamic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Support/Iconamic.php b/src/Support/Iconamic.php index ce8a3b4..9fc8d36 100644 --- a/src/Support/Iconamic.php +++ b/src/Support/Iconamic.php @@ -71,7 +71,7 @@ public function getPath(string $path, string $pathHelper, ?string $filename = nu if ($pathHelper === 'default') { $pathHelper = config('iconamic.path_helper'); } -ray($pathHelper)->blue(); + // build the directory based off of the configured path and path helper switch ($pathHelper) { case 'app_path': @@ -95,7 +95,7 @@ public function getPath(string $path, string $pathHelper, ?string $filename = nu default: throw IconamicException::unknownPathHelper($pathHelper); } -ray($directory)->red(); + $path = explode('/', $filename); $stack = []; foreach ($path as $seg) {