X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fxml%2Fclass_InvalidXmlNodeException.php;h=1429fe765fbf3ea64bbff36e071ed4c7f8ce218f;hp=d503ae6fb9d501619f0c0ad41e8609c63e72e08f;hb=66e68715d3d5a5e7fd5a3046471914ef3f9dd4b4;hpb=c6d73b0e3246efc824cb98338d4be7ee5bc9f308 diff --git a/inc/classes/exceptions/xml/class_InvalidXmlNodeException.php b/inc/classes/exceptions/xml/class_InvalidXmlNodeException.php index d503ae6f..1429fe76 100644 --- a/inc/classes/exceptions/xml/class_InvalidXmlNodeException.php +++ b/inc/classes/exceptions/xml/class_InvalidXmlNodeException.php @@ -2,11 +2,11 @@ /** * An exception thrown when an XML parser error was detected * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 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 @@ -31,13 +31,13 @@ class InvalidXmlNodeException extends FrameworkException { */ public function __construct (array $classArray, $code) { // Extract attributes - $attributes = "None"; + $attributes = 'None'; if ((is_array($classArray[2])) && (count($classArray[2]) > 0)) { - $attributes = implode(", ", $classArray[2]); + $attributes = implode(', ', $classArray[2]); } // END - if // Construct our message - $message = sprintf("[%s:%d] Invalid XML node found: %s, attributes: %s.", + $message = sprintf('[%s:%d] Invalid XML node found: %s, attributes: %s.', $classArray[0]->__toString(), $this->getLine(), $classArray[1],