chore!: add namespace

BREAKING CHANGE: added namespace

the configuration may not load and cause wishthis to break if you do not manually add the namespace to your existing config.php
This commit is contained in:
grandeljay 2023-03-20 13:59:51 +01:00
parent eab739f83a
commit 9e6c8877c7
2 changed files with 3 additions and 3 deletions

View file

@ -6,6 +6,8 @@
* Usually, the wishthis installer will create the config.php for you. * Usually, the wishthis installer will create the config.php for you.
*/ */
namespace wishthis;
/** /**
* Database * Database
* *

View file

@ -2,11 +2,9 @@
/** /**
* Gettext * Gettext
*
* @author Jay Trees <github.jay@grandel.anonaddy.me>
*/ */
use wishthis\User; namespace wishthis;
function __(string $text, string $context = null, User $user = null): string function __(string $text, string $context = null, User $user = null): string
{ {