Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / exceptions / class_NoShipyardsConstructedException.php
index 4ef7d2e14380c5c432ce47a7221baf26cc30c889..410f04c5be1a3bf148a9d14b94624bcce84e0686 100644 (file)
@@ -22,7 +22,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class NoShipyardsConstructedException extends FrameworkException {
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                if (is_object($class)) {
                        // Add a message around the missing class
                        $message = sprintf("[%s:] Keine Werften gefunden!",