Fix warnings about undefined classes
authorMatthias Schmidt <gravatronics@live.com>
Fri, 10 Jun 2016 15:40:18 +0000 (17:40 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 10 Jun 2016 15:40:18 +0000 (17:40 +0200)
wcfsetup/install/files/lib/acp/form/NoticeAddForm.class.php
wcfsetup/install/files/lib/system/email/Mailbox.class.php

index 050548302f258fdd010910f474dc3f3668d2b692..49edbbc1055402a83326376910c5a23224cfae91 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace wcf\acp\form;
+use wcf\data\object\type\ObjectType;
 use wcf\data\object\type\ObjectTypeCache;
 use wcf\data\notice\NoticeAction;
 use wcf\data\notice\NoticeEditor;
index 17fc76d0651f2969d041d61adbf92c93c5a9535e..369345001b4e835be27fedb98684a7dd909e1444 100644 (file)
@@ -34,7 +34,7 @@ class Mailbox {
         * @param       string          $address        email address of this mailbox
         * @param       string          $name           human readable name of this mailbox (or null)
         * @param       Language        $language       Language to use for localization (or null for the default language)
-        * @throws      DomainException
+        * @throws      \DomainException
         */
        public function __construct($address, $name = null, Language $language = null) {
                if (!preg_match('(^'.EmailGrammar::getGrammar('addr-spec').'$)', $address)) {