Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 4861152

Browse files
Fix restartApplication method
1 parent 9c04b3b commit 4861152

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Abstract/ApplicationAbstract.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ public function restartApplication(): bool
279279
{
280280
try {
281281
$request = new UnitRequest(self::SOCKET, self::ADDRESS);
282-
$request->setMethod(HttpMethodsEnum::DELETE->value);
283282
$result = $request->send("/control/applications/{$this->getName()}/restart");
284283
} catch (UnitException $exception) {
285284
return false;

0 commit comments

Comments
 (0)