diff --git a/app/Cache/IpAddressCache.php b/app/Cache/IpAddressCache.php index d363158..58c8d9c 100644 --- a/app/Cache/IpAddressCache.php +++ b/app/Cache/IpAddressCache.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace App\Cache; use App\Cache\Repository\HashRedis; -use App\Helpers\JsonHelper; +use App\Helper\JsonHelper; use App\Support\IpAddress; class IpAddressCache extends HashRedis diff --git a/app/Command/TestCommand.php b/app/Command/TestCommand.php index 97eb535..76af0ce 100644 --- a/app/Command/TestCommand.php +++ b/app/Command/TestCommand.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace App\Command; use App\Cache\IpAddressCache; -use App\Constants\RobotConstant; +use App\Constant\RobotConstant; use App\Model\Contact\Contact; use App\Repository\ExampleRepository; use App\Repository\RobotRepository; diff --git a/app/Constants/FileDriveConstant.php b/app/Constant/FileDriveConstant.php similarity index 84% rename from app/Constants/FileDriveConstant.php rename to app/Constant/FileDriveConstant.php index b7b8eef..cf5a86c 100644 --- a/app/Constants/FileDriveConstant.php +++ b/app/Constant/FileDriveConstant.php @@ -1,7 +1,7 @@ create($item->user_id, $item->friend_id, \App\Constants\TalkModeConstant::PRIVATE_CHAT); + $service->create($item->user_id, $item->friend_id, \App\Constant\TalkModeConstant::PRIVATE_CHAT); } } } diff --git a/test/Cases/Helper/ArrayHelperTest.php b/test/Cases/Helper/ArrayHelperTest.php index fc91cb4..51ca8d5 100644 --- a/test/Cases/Helper/ArrayHelperTest.php +++ b/test/Cases/Helper/ArrayHelperTest.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace HyperfTest\Cases\Helper; -use App\Helpers\ArrayHelper; +use App\Helper\ArrayHelper; use HyperfTest\HttpTestCase; class ArrayHelperTest extends HttpTestCase diff --git a/test/Cases/Helper/RegularHelperTest.php b/test/Cases/Helper/RegularHelperTest.php index e94081f..b2a5c6d 100644 --- a/test/Cases/Helper/RegularHelperTest.php +++ b/test/Cases/Helper/RegularHelperTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); namespace HyperfTest\Cases\Helper; -use App\Helpers\RegularHelper; +use App\Helper\RegularHelper; use HyperfTest\HttpTestCase; class RegularHelperTest extends HttpTestCase