Rename trait SingletonTrait to SingletonClass

This commit is contained in:
Giuseppe Criscione 2022-11-28 00:10:43 +01:00
parent 151841e4cf
commit f55d09c34d
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ use Formwork\Parsers\PHP;
use Formwork\Parsers\YAML;
use Formwork\Router\Router;
use Formwork\Schemes\Schemes;
use Formwork\Traits\SingletonTrait;
use Formwork\Traits\SingletonClass;
use Formwork\Translations\Translations;
use Formwork\Utils\Header;
use Formwork\Utils\HTTPRequest;
@ -20,7 +20,7 @@ use Formwork\Utils\Uri;
final class Formwork
{
use SingletonTrait;
use SingletonClass;
/**
* Current Formwork version

View File

@ -4,7 +4,7 @@ namespace Formwork\Traits;
use LogicException;
trait SingletonTrait
trait SingletonClass
{
/**
* Singleton instance