From cd22acf846f3f2fdbb1aac66b47532fa90f4b25f Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 12 Jan 2024 18:32:51 +0200 Subject: [PATCH] fix namespaces --- README.md | 2 +- src/Xash3D/Master.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0295195..60d2ee5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ PHP 8 library for Half-Life API with native IPv6 / Yggdrasil support #### Master ``` -$master = new Yggverse\Hl\Xash3d\Master('hl.ygg', 27010); +$master = new \Yggverse\Hl\Xash3D\Master('hl.ygg', 27010); var_dump( $master->getServersIPv6() diff --git a/src/Xash3D/Master.php b/src/Xash3D/Master.php index c748d53..9fc7d18 100644 --- a/src/Xash3D/Master.php +++ b/src/Xash3D/Master.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Yggverse\Hl\Xash3d; +namespace Yggverse\Hl\Xash3D; class Master {