for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ProtoneMedia\LaravelFFMpeg\Exporters;
trait HandlesFrames
{
/**
* @var boolean
*/
protected $mustBeAccurate = false;
protected $returnFrameContents = false;
public function accurate(): self
$this->mustBeAccurate = true;
return $this;
}
public function unaccurate(): self
$this->mustBeAccurate = false;
public function getAccuracy(): bool
return $this->mustBeAccurate;
public function getFrameContents(): string
$this->returnFrameContents = true;
return $this->save();
save()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return $this->/** @scrutinizer ignore-call */ save();