release: 4.1.3

This commit is contained in:
Nuno Maduro
2025-10-29 22:45:27 +00:00
parent 08b09f2e98
commit 477d20a54f
46 changed files with 32 additions and 18 deletions

View File

@ -397,7 +397,7 @@ final class Expectation
*
* @return Expectation<TValue>|OppositeExpectation<TValue>|EachExpectation<TValue>|HigherOrderExpectation<Expectation<TValue>, TValue|null>|TValue
*/
public function __get(string $name)
public function __get(string $name): mixed
{
if (! self::hasMethod($name)) {
if (! is_object($this->value) && method_exists(PendingArchExpectation::class, $name)) {