%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/loslex/demo/vendor/spatie/flare-client-php/src/Truncation/
Upload File :
Create Path :
Current File : /www/loslex/demo/vendor/spatie/flare-client-php/src/Truncation/TrimStackFrameArgumentsStrategy.php

<?php

namespace Spatie\FlareClient\Truncation;

class TrimStackFrameArgumentsStrategy implements TruncationStrategy
{
    public function execute(array $payload): array
    {
        for ($i = 0; $i < count($payload['stacktrace']); $i++) {
            $payload['stacktrace'][$i]['arguments'] = null;
        }

        return $payload;
    }
}

Zerion Mini Shell 1.0