fix(webservice): Polished code
This commit is contained in:
@@ -4,9 +4,9 @@ if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
use Websmid\WsOrderReference\Module\Install;
|
||||
use Websmid\WsOrderReference\Module\DisplayHooks;
|
||||
use Websmid\WsOrderReference\Module\ActionHooks;
|
||||
use Websmid\OrderReference\Module\Install;
|
||||
use Websmid\OrderReference\Module\DisplayHooks;
|
||||
use Websmid\OrderReference\Module\ActionHooks;
|
||||
|
||||
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
@@ -27,18 +27,13 @@ class Ws_OrderReference extends Module
|
||||
$this->name = 'ws_orderreference';
|
||||
$this->tab = 'other';
|
||||
$this->version = '1.0.0';
|
||||
$this->author = 'Isabelle Oving-Anno | De Websmid b.v.';
|
||||
$this->author = 'Isabelle Oving-Anno | De Websmid B.V.';
|
||||
$this->need_instance = 0;
|
||||
$this->ps_versions_compliancy = [
|
||||
'min' => '9.0.0',
|
||||
'max' => '9.99.99',
|
||||
];
|
||||
$this -> bootstrap = true;
|
||||
$this->bootstrap = true;
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Order Reference');
|
||||
$this->description = $this->l('Adds an optional order reference field to the shopping cart summary.');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user