fix cs
This commit is contained in:
@@ -30,7 +30,6 @@ use Thelia\Core\Security\Resource\AdminResources;
|
|||||||
use Thelia\Form\Cache\CacheFlushForm;
|
use Thelia\Form\Cache\CacheFlushForm;
|
||||||
use Thelia\Form\Exception\FormValidationException;
|
use Thelia\Form\Exception\FormValidationException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CacheController
|
* Class CacheController
|
||||||
* @package Thelia\Controller\Admin
|
* @package Thelia\Controller\Admin
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ namespace Thelia\Form\Cache;
|
|||||||
|
|
||||||
use Thelia\Form\BaseForm;
|
use Thelia\Form\BaseForm;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CacheFlushForm
|
* Class CacheFlushForm
|
||||||
* @package Thelia\Form\Cache
|
* @package Thelia\Form\Cache
|
||||||
|
|||||||
@@ -129,7 +129,8 @@ class Tlog Implements LoggerInterface
|
|||||||
*
|
*
|
||||||
* @return Tlog a new Tlog instance.
|
* @return Tlog a new Tlog instance.
|
||||||
*/
|
*/
|
||||||
public static function getNewInstance() {
|
public static function getNewInstance()
|
||||||
|
{
|
||||||
$instance = new Tlog();
|
$instance = new Tlog();
|
||||||
|
|
||||||
$instance->init();
|
$instance->init();
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class Order extends BaseOrder
|
|||||||
|
|
||||||
public function postSave(ConnectionInterface $con = null)
|
public function postSave(ConnectionInterface $con = null)
|
||||||
{
|
{
|
||||||
if($this->isPaid() && null === $this->getInvoiceDate()) {
|
if ($this->isPaid() && null === $this->getInvoiceDate()) {
|
||||||
$this
|
$this
|
||||||
->setInvoiceDate(time())
|
->setInvoiceDate(time())
|
||||||
->save($con);
|
->save($con);
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ use Symfony\Component\Routing\Router;
|
|||||||
use Thelia\Core\HttpFoundation\Response;
|
use Thelia\Core\HttpFoundation\Response;
|
||||||
use Thelia\Core\Template\ParserInterface;
|
use Thelia\Core\Template\ParserInterface;
|
||||||
use Thelia\Core\Template\TemplateHelper;
|
use Thelia\Core\Template\TemplateHelper;
|
||||||
use Thelia\Exception\TheliaProcessException;
|
|
||||||
use Thelia\Model\Order;
|
use Thelia\Model\Order;
|
||||||
use Thelia\Tools\URL;
|
use Thelia\Tools\URL;
|
||||||
|
|
||||||
@@ -57,7 +56,6 @@ abstract class AbstractPaymentModule extends BaseModule implements PaymentModule
|
|||||||
*/
|
*/
|
||||||
abstract public function isValidPayment();
|
abstract public function isValidPayment();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render the payment gateway template. The module should provide the gateway URL and the form fields names and values.
|
* Render the payment gateway template. The module should provide the gateway URL and the form fields names and values.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user