Method constructor() removed, several small fixes
[shipsimu.git] / inc / classes / exceptions / template / class_UnexpectedTemplateTypeException.php
index 06126039de186ea193a641bf32891222eaa79510..ba37050a3fca4e4c04d1bea0f6e380e0b320f56e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * An exception throws when the template type is not supported
+ * An exception thrown when the template type is not supported
  *
  * @author             Roland Haeder <webmaster@mxchange.org>
  * @version            0.3.0
@@ -19,7 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class UnexpectedTemplateTypeException extends FrameworkException {
        /**
@@ -29,7 +29,7 @@ class UnexpectedTemplateTypeException extends FrameworkException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($class, $code) {
+       public function __construct (BaseFrameworkSystem $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Der Template-Typ <u>%s</u> entspricht nicht dem erwartetem Template-Typ <u>%s</u>.",
                        $class[0]->__toString(),