]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/xml/class_InvalidXmlNodeException.php
Updated domain without a dash :(
[core.git] / inc / classes / exceptions / xml / class_InvalidXmlNodeException.php
index d503ae6fb9d501619f0c0ad41e8609c63e72e08f..1429fe765fbf3ea64bbff36e071ed4c7f8ce218f 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thrown when an XML parser error was detected
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @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 = "<em>None</em>";
+               $attributes = '<em>None</em>';
                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],