From 926fd46d718075bd4f429b78ecaa74be0b8af69a Mon Sep 17 00:00:00 2001 From: Bellord Date: Tue, 10 Nov 2026 08:13:01 +0300 Subject: [PATCH] fix --- .module.json | 2 +- clone.php | 7 +++---- lib/Interfaces/ITest.php | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.module.json b/.module.json index 1244823..30a4795 100644 --- a/.module.json +++ b/.module.json @@ -2,7 +2,7 @@ "id": "bx.nullable", "prefix": "bx_nullable", "namespace": "Bx\\Nullable", - "gitUrl": "https://bitbucket.org/bellord13/bx.null/", + "repo": "https://gitea.ixrs.ru/bellord/bx.nullable.git", "version": "1.0.0", "date": "2026-01-01 00:00:00", "deps": ["wt.core"] diff --git a/clone.php b/clone.php index 9e86cd4..27b3a89 100644 --- a/clone.php +++ b/clone.php @@ -2,14 +2,13 @@ declare(strict_types=1); -use Wt\Core\App\ModuleEntity; use Wt\Core\App\ModuleCloner; require './../wt.core/include.php'; require './ModuleCloner.php'; if (!isset($argv[1])) { - echo "Error: Please provide the target module path as the first argument." . PHP_EOL; + echo 'Error: Please provide the target module path as the first argument.' . PHP_EOL; exit(1); } @@ -29,8 +28,8 @@ try { $cloner = new ModuleCloner($sourceEntity, $targetEntity); $cloner->clone(); - echo "Success: Module cloned successfully." . PHP_EOL; + echo 'Success: Module cloned successfully.' . PHP_EOL; } catch (Throwable $e) { - echo "Critical Error: " . $e->getMessage() . PHP_EOL; + echo 'Critical Error: ' . $e->getMessage() . PHP_EOL; exit(1); } diff --git a/lib/Interfaces/ITest.php b/lib/Interfaces/ITest.php index ba78834..46f1474 100644 --- a/lib/Interfaces/ITest.php +++ b/lib/Interfaces/ITest.php @@ -2,7 +2,7 @@ namespace Bx\Nullable\Interfaces; -class ITest +interface ITest { } \ No newline at end of file