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:
parent
eab739f83a
commit
9e6c8877c7
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
*
|
*
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue