]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/interfaces/class_Customer.php
Unneccessary sanity checks removed
[shipsimu.git] / application / ship-simu / interfaces / class_Customer.php
index c52ec8de27e8d93cf9a68867a814ce735b25e2d5..28146141255196de8e37ab8046f3457d971d5fba 100644 (file)
@@ -25,7 +25,7 @@ interface Customer extends FrameworkInterface {
        /**
         * Adds a contract to the customer's list
         *
-        * @param               $contractInstance       A valid instance to WorksContract
+        * @param       $contractInstance       A valid instance to WorksContract
         * @return      void
         */
        function addNewWorksContract (SignableContract $contractInstance);
@@ -33,17 +33,10 @@ interface Customer extends FrameworkInterface {
        /**
         * Signs a works contract.
         *
-        * @param               $contractInstance                               A valid instance to WorksContract
-        * @param               $partnerInstance                                An instance the other
-        *                                                                              contract partner
+        * @param       $contractInstance       A valid instance to WorksContract
+        * @param       $partnerInstance        An instance the other contract partner
         * @return      void
-        * @throws      NullPointerException                    If an instance variable
-        *                                                                              is null
-        * @throws      NoObjectException                               If an instance variable
-        *                                                                              is not an object
-        * @throws      MissingMethodException                  If a required method was
-        *                                                                              not found in $contractInstance
-        * @throws      InvalidContractPartnerException If the in $contractInstance
+        * @throws      InvalidContractPartnerException         If the in $contractInstance
         *                                                                              set contract partner is
         *                                                                              not the expected
         */
@@ -52,7 +45,7 @@ interface Customer extends FrameworkInterface {
        /**
         * Withdraw from a signed contract
         *
-        * @param               $contractInstance       A valid instance to WorksContract
+        * @param       $contractInstance       A valid instance to WorksContract
         * @return      void
         */
        function withdrawFromContract (SignableContract $contractInstance);