Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / exceptions / class_EmptyStructuresListException.php
index 14d005128c44bc0d450f6ed3efe6e2b77291af80..31284fce56b8ea79f584c26384ace22db7ef2175 100644 (file)
@@ -22,7 +22,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class EmptyStructuresListException extends FrameworkException {
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:] Die Strukturen-Liste ist leer.",
                        $class->__toString()