From 89f84b22d679155645913dbe1fa664b361f9c1be Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 12 Dec 2023 15:27:40 +0000 Subject: [PATCH] Apply fixes from StyleCI --- packages/framework/src/Foundation/PharSupport.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/framework/src/Foundation/PharSupport.php b/packages/framework/src/Foundation/PharSupport.php index 65ba13c4034..7117df5b884 100644 --- a/packages/framework/src/Foundation/PharSupport.php +++ b/packages/framework/src/Foundation/PharSupport.php @@ -6,7 +6,6 @@ use Hyde\Hyde; use Phar; -use BadMethodCallException; use function dirname; use function is_dir; @@ -47,6 +46,6 @@ public static function hasVendorDirectory(): bool public static function vendorPath(string $path = '', string $package = 'framework'): string { - return rtrim(str_replace('/', DIRECTORY_SEPARATOR, rtrim(dirname(__DIR__, 3). '/' . $package . '/' . $path, '/\\')), '/\\'); + return rtrim(str_replace('/', DIRECTORY_SEPARATOR, rtrim(dirname(__DIR__, 3).'/'.$package.'/'.$path, '/\\')), '/\\'); } }