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
16
/** @scrutinizer ignore-call */
17
$base = $this->getData();
Loading history...
17
if(str_contains($string,'/')){
18
$base = str_replace('/', 'bArRa', $base);
19
}
20
21
return $base;
22
}
23
24
/**
25
* @param string $encryption
26
* @return string
27
*/
28
protected function decryption(string $encryption): string