From 3a20696da4a3e1e2a352e93844a7394a4af7a53b Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 18 Jun 2021 22:03:51 +0100 Subject: [PATCH] CS --- src/Concerns/Expectable.php | 1 + src/Concerns/RetrievesValues.php | 2 +- src/Expectation.php | 1 + src/HigherOrderExpectation.php | 4 ---- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Concerns/Expectable.php b/src/Concerns/Expectable.php index 5087572f..981e443d 100644 --- a/src/Concerns/Expectable.php +++ b/src/Concerns/Expectable.php @@ -17,6 +17,7 @@ trait Expectable * Creates a new expectation. * * @param TValue $value + * * @return Expectation */ public function expect($value): Expectation diff --git a/src/Concerns/RetrievesValues.php b/src/Concerns/RetrievesValues.php index 1d789e9d..a8d832b1 100644 --- a/src/Concerns/RetrievesValues.php +++ b/src/Concerns/RetrievesValues.php @@ -15,7 +15,7 @@ trait RetrievesValues * Safely retrieve the value at the given key from an object or array. * * @param array|object $value - * @param TRetrievableValue|null $default + * @param TRetrievableValue|null $default * * @return TRetrievableValue|null */ diff --git a/src/Expectation.php b/src/Expectation.php index 6477b3d6..32299dc2 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -60,6 +60,7 @@ final class Expectation * Creates a new expectation. * * @param TValue $value + * * @return Expectation */ public function and($value): Expectation diff --git a/src/HigherOrderExpectation.php b/src/HigherOrderExpectation.php index 8d29aa3d..14c8504c 100644 --- a/src/HigherOrderExpectation.php +++ b/src/HigherOrderExpectation.php @@ -65,8 +65,6 @@ final class HigherOrderExpectation /** * Dynamically calls methods on the class with the given arguments. - * - * @param array $arguments */ public function __call(string $name, array $arguments): self { @@ -114,8 +112,6 @@ final class HigherOrderExpectation /** * Performs the given assertion with the current expectation. - * - * @param array $arguments */ private function performAssertion(string $name, array $arguments): self {