It seems like setData() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
It seems like getData() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
12
/** @scrutinizer ignore-call */
13
$base = $this->getData();
Loading history...
13
14
return bin2hex($base);
15
}
16
17
protected function decryption(string $encryption): ?string