diff --git a/src/mServer/Client.php b/src/mServer/Client.php index e469093..35d9825 100644 --- a/src/mServer/Client.php +++ b/src/mServer/Client.php @@ -15,6 +15,7 @@ namespace mServer; +use Ease\Shared; use Ease\Functions; use Riesenia\Pohoda; @@ -25,7 +26,7 @@ */ class Client extends \Ease\Sand { - use \Ease\RecordKey; + use \Ease\recordkey; /** * We Connect to server by default. @@ -213,7 +214,7 @@ public function reset(): void { $this->dataReset(); $this->pohoda = new Pohoda($this->ico); - $this->pohoda->setApplicationName(Functions::cfg('APP_NAME', 'PHPmPohoda')); + $this->pohoda->setApplicationName(Shared::cfg('APP_NAME', 'PHPmPohoda')); $this->xmlCache = sys_get_temp_dir().'/phpmPohoda_'.Functions::randomString().'.xml'; $this->pohoda->open($this->xmlCache, microtime(), 'generated by PHPmPohoda'); @@ -264,7 +265,7 @@ public function logBanner($prefix = null, $suffix = null): void } /** - * Set Authentification. + * Set Authentication. * * @return bool */ diff --git a/tests/update-address.php b/tests/update-address.php index 87a15ea..290264a 100644 --- a/tests/update-address.php +++ b/tests/update-address.php @@ -87,4 +87,4 @@ ]; $addresser = new Adressbook($addressBookRecord, \Ease\Shared::instanced()->loadConfig(__DIR__.'/.env')); -$addresser->updateInPohoda(null, ['extId' => ['exSystemName' => \Ease\Functions::cfg('APP_NAME'), 'ids' => (string) $extID]]); +$addresser->updateInPohoda(null, ['extId' => ['exSystemName' => \Ease\Shared::cfg('APP_NAME'), 'ids' => (string) $extID]]);