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
+5 -7

No files matched your search

+5 -3
View File
@@ -178,7 +178,7 @@ private function _apply_time_limit():void {
*
* @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 @@ private function _apply_basedir_restriction():void {
throw new Exception('Failed to set open_basedir restrictions');
}
}
}
/**
* Enforces security options previously set.
@@ -233,6 +233,9 @@ public function __construct() {
}
/**
* Destructor. Throws an exception if the settings have not been set.
*/
public function __destruct() {
if ($this->_status !== self::STATUS_SPECIFIED) {
@@ -255,6 +258,5 @@ public function __destruct() {
}
}
}