style: formatting & linting

This commit is contained in:
jordanbrauer
2021-06-16 00:54:22 -05:00
parent 9904094590
commit 9bf141f698
2 changed files with 2 additions and 2 deletions

View File

@ -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
*/

View File

@ -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';