X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Util
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
Util
/
??
..
??
ArrayChecker.php
(466 B)
??
ArrayParametersMerger.php
(1.59 KB)
??
FileHasher.php
(1.13 KB)
??
MemoryLimiter.php
(1.4 KB)
??
NewLineSplitter.php
(431 B)
??
NodePrinter.php
(1.63 KB)
??
PhpVersionFactory.php
(665 B)
??
Reflection
??
StringUtils.php
(294 B)
Editing: ArrayChecker.php
<?php declare (strict_types=1); namespace Rector\Util; final class ArrayChecker { /** * @param mixed[] $elements * @param callable(mixed $element): bool $callable */ public function doesExist(array $elements, callable $callable) : bool { foreach ($elements as $element) { $isFound = $callable($element); if ($isFound) { return \true; } } return \false; } }
Upload File
Create Folder