Add missing function comment

This commit is contained in:
jrenslin committed 2020-11-22 15:42:56 +01:00
1 parent 258781307d
commit c60932088d
3 files changed
+3 -5

No files matched your search

+3 -1
View File
@@ -233,6 +233,9 @@ public function __construct() {
} }
/**
* Destructor. Throws an exception if the settings have not been set.
*/
public function __destruct() { public function __destruct() {
if ($this->_status !== self::STATUS_SPECIFIED) { if ($this->_status !== self::STATUS_SPECIFIED) {
@@ -255,6 +258,5 @@ public function __destruct() {
} }
} }
} }
-2
View File
@@ -9,7 +9,6 @@
* functions. * functions.
*/ */
final class MD_STD_IN { final class MD_STD_IN {
/** /**
* Validates and sanitizes input integers to be in line with MySQL * Validates and sanitizes input integers to be in line with MySQL
* autoincrement IDs. * autoincrement IDs.
@@ -231,5 +230,4 @@ public static function validate_isbn(string $input):string {
throw new MDgenericInvalidInputsException("ISBNs must be either 10 or 13 characters long."); throw new MDgenericInvalidInputsException("ISBNs must be either 10 or 13 characters long.");
} }
} }
@@ -5,7 +5,6 @@
* Exception thrown by MDJail if a required security option has not been set. * Exception thrown by MDJail if a required security option has not been set.
*/ */
final class MDJailSecurityOptionNotSetException extends Exception { final class MDJailSecurityOptionNotSetException extends Exception {
/** /**
* Error message. * Error message.
* *
@@ -17,5 +16,4 @@ public function errorMessage() {
return $errorMsg; return $errorMsg;
} }
} }