]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/payment/class_PaymentDiscoveryFilter.php
Don't "abuse" setters for actually "unsetting" (closing) instances. Better use
[core.git] / inc / classes / main / filter / payment / class_PaymentDiscoveryFilter.php
index 3c88d98ed021a39bcc90a5f8493c0e369d693e26..7a016ece8c46f2b0cda6b287191615d884a0c394 100644 (file)
@@ -4,11 +4,11 @@
  * returns an object holding all available payment system for the requested
  * type.
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 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
@@ -101,7 +101,7 @@ class PaymentDiscoveryFilter extends BaseFilter implements Filterable {
                // Try to get real discovery class
                try {
                        // Get an instance from the object factory
-                       $discoveryInstance = ObjectFactory::createObjectByConfiguredName($this->getActionName().'_payment_discovery', array($this));
+                       $discoveryInstance = ObjectFactory::createObjectByConfiguredName($this->getActionName() . '_payment_discovery', array($this));
 
                        // Call the discovery method
                        $discoveryInstance->discover($requestInstance);