X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_MissingArrayElementsException.php;h=bc351f1f9a80d26dc0748f0fe91d598d0c019e02;hp=e1f388c2838c5e49191b828ffea08aefe9f5245b;hb=fdc6a02b5e6c2155cda61fcc345c7583b734ab85;hpb=3107989f93cfb5808ce9d75f1c7d2b7ee3d83d18 diff --git a/inc/classes/exceptions/main/class_MissingArrayElementsException.php b/inc/classes/exceptions/main/class_MissingArrayElementsException.php index e1f388c2..bc351f1f 100644 --- a/inc/classes/exceptions/main/class_MissingArrayElementsException.php +++ b/inc/classes/exceptions/main/class_MissingArrayElementsException.php @@ -2,11 +2,11 @@ /** * An exception thrown when required array elements are missing * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 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 @@ -34,14 +34,14 @@ class MissingArrayElementsException extends FrameworkException { $elements = ''; if ((isset($classArray[2])) && (is_array($classArray[2]))) { // Convert into strings - $elements = implode(", ", $classArray[2]); + $elements = implode(', ', $classArray[2]); } else { // Invalid data - $elements = "invalid_data"; + $elements = 'invalid_data'; } // Add a message around the missing class - $message = sprintf("[%s:%d] Array %s() Does not have these elements: %s", + $message = sprintf('[%s:%d] Array %s() Does not have these elements: %s', $classArray[0]->__toString(), $this->getLine(), $classArray[1],