Merge pull request #20976 from atm-maxime/fix_scrutinizer1
Fix scrutinizer
This commit is contained in:
commit
84f56a972b
@ -145,6 +145,8 @@ class mod_codeproduct_elephant extends ModeleProductCode
|
|||||||
*/
|
*/
|
||||||
public function getExample($langs, $objproduct = 0, $type = -1)
|
public function getExample($langs, $objproduct = 0, $type = -1)
|
||||||
{
|
{
|
||||||
|
$exampleproduct = $exampleservice = '';
|
||||||
|
|
||||||
if ($type == 0 || $type == -1) {
|
if ($type == 0 || $type == -1) {
|
||||||
$exampleproduct = $this->getNextValue($objproduct, 0);
|
$exampleproduct = $this->getNextValue($objproduct, 0);
|
||||||
if (!$exampleproduct) {
|
if (!$exampleproduct) {
|
||||||
|
|||||||
@ -150,6 +150,12 @@ class MyObject extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $amount;
|
public $amount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int Thirdparty ID
|
||||||
|
*/
|
||||||
|
public $socid; // both socid and fk_soc are used
|
||||||
|
public $fk_soc; // both socid and fk_soc are used
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int Status
|
* @var int Status
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user