Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / exceptions / class_InvalidContractPartnerException.php
index af8f472cce7afe0e694692b8ebb5864dfc91fbd9..db363ae60311d125c4a459d81ae9d26e96e25f95 100644 (file)
@@ -22,7 +22,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class InvalidContractPartnerException extends FrameworkException {
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:] <span id=\"exception_reason\">%s</span> ist kein g&uuml;tiger Vertragspartner.",
                        $class->__toString(),