Add missing function comment

This commit is contained in:
2020-11-22 15:42:56 +01:00
parent 258781307d
commit c60932088d
3 changed files with 5 additions and 7 deletions

View File

@ -178,7 +178,7 @@ final class MD_JAIL {
*
* @return void
*/
private function _apply_basedir_restriction():void {
private function _apply_basedir_restriction():void {
if (empty($this->_open_basedir)) {
throw new MDJailSecurityOptionNotSetException("It has not been specified, which memory limit the script should hold. Set MD_JAIL->open_basedir = string.");
@ -187,7 +187,7 @@ final class MD_JAIL {
throw new Exception('Failed to set open_basedir restrictions');
}
}
}
/**
* Enforces security options previously set.
@ -233,6 +233,9 @@ final class MD_JAIL {
}
/**
* Destructor. Throws an exception if the settings have not been set.
*/
public function __destruct() {
if ($this->_status !== self::STATUS_SPECIFIED) {
@ -255,6 +258,5 @@ final class MD_JAIL {
}
}
}