<commit_before><?php

/**
 * This file is part of the Zephir.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Extension\Types;

use PHPUnit\Framework\TestCase;
use Stub\Types\Obj;

final class ObjTypeTest extends TestCase
{
    public function testIntFalse(): void
    {
        $class = new Obj();

        $this->assertNull($class->nullableObjectReturnNull());
        $this->assertSame(new \stdClass(), $class->nullableObjectReturnObj());
    }
}<commit_msg>#2374 - Change assert method<commit_after><?php

/**
 * This file is part of the Zephir.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Extension\Types;

use PHPUnit\Framework\TestCase;
use stdClass;
use Stub\Types\Obj;

final class ObjTypeTest extends TestCase
{
    public function testIntFalse(): void
    {
        $class = new Obj();

        $this->assertNull($class->nullableObjectReturnNull());
        $this->assertInstanceOf(stdClass::class, $class->nullableObjectReturnObj());
    }
}
{'fraction_non_alphanumeric': 0.12410501193317422, 'fraction_numerical': 0.00477326968973747, 'mean_word_length': 3.801526717557252, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '395091', 'n_tokens_mistral': 375, 'n_tokens_neox': 373, 'n_words': 110}