From 3e79dc03d9042a24061a1fdc15d9c565c6a0bee0 Mon Sep 17 00:00:00 2001 From: Formatter Bot Date: Tue, 19 Apr 2022 21:42:22 +0000 Subject: [PATCH] Automated formatting changes --- Algorithm/PathFinding/JumpPointNode.php | 2 -- DataStorage/Database/Query/Builder.php | 5 ++--- Module/StatusAbstract.php | 2 -- Views/ViewAbstract.php | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Algorithm/PathFinding/JumpPointNode.php b/Algorithm/PathFinding/JumpPointNode.php index 5abb47398..2e97bbb51 100755 --- a/Algorithm/PathFinding/JumpPointNode.php +++ b/Algorithm/PathFinding/JumpPointNode.php @@ -14,8 +14,6 @@ declare(strict_types=1); namespace phpOMS\Algorithm\PathFinding; -use phpOMS\Stdlib\Base\HeapItemInterface; - /** * Node on grid. * diff --git a/DataStorage/Database/Query/Builder.php b/DataStorage/Database/Query/Builder.php index 02d6364a7..fd57587a4 100644 --- a/DataStorage/Database/Query/Builder.php +++ b/DataStorage/Database/Query/Builder.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace phpOMS\DataStorage\Database\Query; -use PDOStatement; use phpOMS\Algorithm\Graph\DependencyResolver; use phpOMS\Contract\SerializableInterface; use phpOMS\DataStorage\Database\BuilderAbstract; @@ -1389,11 +1388,11 @@ class Builder extends BuilderAbstract /** * Execute query. * - * @return ?PDOStatement + * @return ?\PDOStatement * * @since 1.0.0 */ - public function execute() : ?PDOStatement + public function execute() : ?\PDOStatement { try { $sth = $this->connection->con->prepare($this->toSql()); diff --git a/Module/StatusAbstract.php b/Module/StatusAbstract.php index 621a942a5..1ebbdbfa9 100644 --- a/Module/StatusAbstract.php +++ b/Module/StatusAbstract.php @@ -152,7 +152,6 @@ abstract class StatusAbstract /** @var Directory|File $child */ foreach ($directories as $child) { if ($child instanceof Directory) { - /** @var File $file */ foreach ($child as $file) { if (!\is_dir(__DIR__ . '/../../' . $child->getName() . '/' . \basename($file->getName(), '.php')) @@ -223,7 +222,6 @@ abstract class StatusAbstract /** @var Directory|File $child */ foreach ($directories as $child) { if ($child instanceof Directory) { - /** @var File $file */ foreach ($child as $file) { if (!\is_dir(__DIR__ . '/../../' . $child->getName() . '/' . \basename($file->getName(), '.php')) diff --git a/Views/ViewAbstract.php b/Views/ViewAbstract.php index 2fbf61edf..b1104c6e7 100644 --- a/Views/ViewAbstract.php +++ b/Views/ViewAbstract.php @@ -15,7 +15,6 @@ declare(strict_types=1); namespace phpOMS\Views; use phpOMS\Contract\RenderableInterface; -use phpOMS\System\File\PathException; /** * View Abstract.