It seems like bonificaNomeCampo() 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 getOpzionitabellaCampiExtra() 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 setMaxOrdine() 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
15
$this->/** @scrutinizer ignore-call */
16
setMaxOrdine($value);
Loading history...
16
}
17
4
$opzionibuilder[$campo][$key] = $value;
18
}
19
}
20
12
}
21
22
4
protected function checkCampoOpzioniTabella($campo, $modellocolonna, &$opzionibuilder)
23
{
24
4
if (!array_key_exists($campo, $opzionibuilder)) {
25
if ((isset($modellocolonna['campoextra']) && true == $modellocolonna['campoextra'])) {
This check looks for the bodies of if statements that have no statements or where all statements
have been commented out. This may be the result of changes for debugging or the code
may simply be obsolete.
These if bodies can be removed. If you have an empty if but statements in the else
branch, consider inverting the condition.