]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/main/class_InvalidInterfaceException.php
Continued:
[core.git] / framework / main / exceptions / main / class_InvalidInterfaceException.php
index 2204526ebaa10cbf5dd595890e8d606b5b442448..1009583a276960651a5a17097ae372bfc75370ce 100644 (file)
@@ -1,16 +1,16 @@
 <?php
 // Own namespace
-namespace CoreFramework\Object;
+namespace Org\Mxchange\CoreFramework\Object;
 
 // Import framework stuff
-use CoreFramework\Generic\FrameworkException;
+use Org\Mxchange\CoreFramework\Generic\FrameworkException;
 
 /**
  * An exception thrown when an class instance does not implement a given interface
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * 
@@ -35,7 +35,7 @@ class InvalidInterfaceException extends FrameworkException {
         * @param       $code                   Code number for the exception
         * @return      void
         */
-       public function __construct (array $classArray, $code) {
+       public function __construct (array $classArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Object does not implement expected interface %s.',
                        $classArray[0]->__toString(),