mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
CS
This commit is contained in:
@ -17,6 +17,7 @@ trait Expectable
|
||||
* Creates a new expectation.
|
||||
*
|
||||
* @param TValue $value
|
||||
*
|
||||
* @return Expectation<TValue>
|
||||
*/
|
||||
public function expect($value): Expectation
|
||||
|
||||
@ -15,7 +15,7 @@ trait RetrievesValues
|
||||
* Safely retrieve the value at the given key from an object or array.
|
||||
*
|
||||
* @param array<string, TRetrievableValue>|object $value
|
||||
* @param TRetrievableValue|null $default
|
||||
* @param TRetrievableValue|null $default
|
||||
*
|
||||
* @return TRetrievableValue|null
|
||||
*/
|
||||
|
||||
@ -60,6 +60,7 @@ final class Expectation
|
||||
* Creates a new expectation.
|
||||
*
|
||||
* @param TValue $value
|
||||
*
|
||||
* @return Expectation<TValue>
|
||||
*/
|
||||
public function and($value): Expectation
|
||||
|
||||
@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user