X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffilter%2Fpayment%2Fclass_PaymentDiscoveryFilter.php;h=571362476a93511b5599d328fc5e195fbcbc0ef2;hp=1857f7d5f4a0d7d02a832e174d15a0e338a2e482;hb=1ee35e6d96c456b8e3499bd683f1647aa28bd501;hpb=3b369c267715db8baefd28b85375406946270ebd diff --git a/inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php b/inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php index 1857f7d5..57136247 100644 --- a/inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php +++ b/inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php @@ -4,11 +4,11 @@ * returns an object holding all available payment system for the requested * type. * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,7 +46,7 @@ class PaymentDiscoveryFilter extends BaseFilter implements Filterable { * @return $filterInstance An instance of this filter class * @throws NullPointerException If the resolver is not set */ - public final static function createPaymentDiscoveryFilter (PerformableAction $actionInstance) { + public static final function createPaymentDiscoveryFilter (PerformableAction $actionInstance) { // Get a new instance $filterInstance = new PaymentDiscoveryFilter(); @@ -110,7 +110,7 @@ class PaymentDiscoveryFilter extends BaseFilter implements Filterable { Registry::getRegistry()->addInstance('payments', $discoveryInstance); } catch (NoConfigEntryException $e) { // Something bad happend - $requestInstance->requestIsValid(false); + $requestInstance->requestIsValid(FALSE); // Add a message to the response $responseInstance->addFatalMessage('payment_config_entry_error'); @@ -120,7 +120,7 @@ class PaymentDiscoveryFilter extends BaseFilter implements Filterable { throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED); } catch (NoClassException $e) { // Something bad happend - $requestInstance->requestIsValid(false); + $requestInstance->requestIsValid(FALSE); // Add a message to the response $responseInstance->addFatalMessage('payment_class_error');