mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
style: formatting & linting
This commit is contained in:
@ -162,7 +162,7 @@ final class Reflection
|
||||
public static function getFunctionArguments(Closure $function): array
|
||||
{
|
||||
$parameters = (new ReflectionFunction($function))->getParameters();
|
||||
$arguments = [];
|
||||
$arguments = [];
|
||||
|
||||
foreach ($parameters as $parameter) {
|
||||
$arguments[$parameter->getName()] = ($parameter->hasType()) ? $parameter->getType() : 'mixed';
|
||||
|
||||
Reference in New Issue
Block a user