REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 892 B
Close
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Testing/Exceptions/InvalidArgumentException.php
Text
Base64
<?php namespace Illuminate\Testing\Exceptions; use PHPUnit\Framework\Exception; class InvalidArgumentException extends Exception { /** * Creates a new exception for an invalid argument. * * @param int $argument * @param string $type * @return static */ public static function create(int $argument, string $type): static { $stack = debug_backtrace(); $function = $stack[1]['function']; if (isset($stack[1]['class'])) { $function = sprintf('%s::%s', $stack[1]['class'], $stack[1]['function']); } return new static( sprintf( 'Argument #%d of %s() must be %s %s', $argument, $function, in_array(lcfirst($type)[0], ['a', 'e', 'i', 'o', 'u'], true) ? 'an' : 'a', $type ) ); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
InvalidArgumentException.php
892 B
lrw-rw-rw-
2025-09-17 06:52:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).