REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 645 B
Close
/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php80/ValueObjectFactory/StrStartsWithFactory.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\Php80\ValueObjectFactory; use PhpParser\Node\Expr\FuncCall; use Rector\Php80\ValueObject\StrStartsWith; final class StrStartsWithFactory { public function createFromFuncCall(FuncCall $funcCall, bool $isPositive) : ?StrStartsWith { if ($funcCall->isFirstClassCallable()) { return null; } if (\count($funcCall->getArgs()) < 2) { return null; } $haystack = $funcCall->getArgs()[0]->value; $needle = $funcCall->getArgs()[1]->value; return new StrStartsWith($funcCall, $haystack, $needle, $isPositive); } }
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
StrStartsWithFactory.php
645 B
lrw-r--r--
2024-11-08 13:59:10
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).