File "TrimStackFrameArgumentsStrategy.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/spatie/flare-client-php/src/Truncation/TrimStackFrameArgumentsStrategy.php
File size: 345 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?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;
}
}