From 6d293631235d440c3d2ed2d337cd7e9c59156364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= Date: Tue, 26 Nov 2024 10:05:48 +0100 Subject: [PATCH] Fix code style issues --- src/GitElephant/Sequence/AbstractCollection.php | 10 +++++----- tests/GitElephant/Objects/TreeTest.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/GitElephant/Sequence/AbstractCollection.php b/src/GitElephant/Sequence/AbstractCollection.php index 9b8e809d..c755086f 100644 --- a/src/GitElephant/Sequence/AbstractCollection.php +++ b/src/GitElephant/Sequence/AbstractCollection.php @@ -40,11 +40,11 @@ public function contains($searchedElem): bool return false; } - /** - * @param callable $callable - * - * @return \PhpOption\LazyOption - */ + /** + * @param callable $callable + * + * @return \PhpOption\LazyOption + */ public function find(callable $callable): LazyOption { $self = $this; diff --git a/tests/GitElephant/Objects/TreeTest.php b/tests/GitElephant/Objects/TreeTest.php index 05ca6e30..09045e90 100644 --- a/tests/GitElephant/Objects/TreeTest.php +++ b/tests/GitElephant/Objects/TreeTest.php @@ -96,7 +96,7 @@ public function testSubmodule(): void mkdir($path); $repository = new Repository($path); $repository->init(false, 'master'); - // required for newer git versions, + // required for newer git versions, // see e.g. https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586 $repository->addGlobalConfig("protocol.file.allow", "always"); $repository->addSubmodule($this->repository->getPath());