Class referenced with incorrect case

This commit is contained in:
2023-04-13 14:28:49 +02:00
parent b6a849627c
commit 660bef00a2
2 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ class Daemon
*/
public function start($name, $callable, $params = array())
{
$file = new file();
$file = new File();
if (! $file->is_writeable($this->runDir)) {
throw new \Exception(sprintf(
"Run Directory '%s' is not writeable",
@@ -73,7 +73,7 @@ class Daemon
), 500);
}
}
$fork = new fork();
$fork = new Fork();
$pid = $fork->startDetachedChild($name, $callable, $params);
file_put_contents($this->runDir . "/$name.pid", $pid);
return $pid;
@@ -89,7 +89,7 @@ class Daemon
*/
public function stop($name, $maxWaitStop = 3, $maxWaitKill = 3)
{
$file = new file();
$file = new File();
if (! $file->is_writeable($this->runDir)) {
throw new \Exception(sprintf(
"Run Directory '%s' is not writeable",

View File

@@ -197,7 +197,7 @@ class GraphStyleLinePoints
$this->pointShape = $this->allowedShapes[
($number % count($this->allowedShapes))];
}
$palette = graphPalette::getPalette($this->palette);
$palette = GraphPalette::getPalette($this->palette);
if ($this->pointBgcolor === null) {
$this->pointBgcolor = $palette[($number % count($palette))]["bgcolor"];
}