mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
style: formatting & linting
This commit is contained in:
@ -10,7 +10,7 @@ use NunoMaduro\Collision\Contracts\RenderlessTrace;
|
||||
use Symfony\Component\Console\Exception\ExceptionInterface;
|
||||
|
||||
/**
|
||||
* Creates a new instance of dataset is not present for test that has arguments
|
||||
* Creates a new instance of dataset is not present for test that has arguments.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
|
||||
@ -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