This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked
by a capital letter. Thus the name database connection string becomes databaseConnectionString.
Avoid variables with short names like $_. Configured minimum length is 3.
Short variable names may make your code harder to understand. Variable names should
be self-descriptive. This check looks for variable names who are shorter than
a configured minimum.
Loading history...
21
22
/**
23
* @var string
24
*/
25
protected $returnOrderReference = null;
26
27
/**
28
* Constructor.
29
*
30
* @var labelType
31
* @var string $returnOrderReference
32
*
33
* @param mixed $_
34
* @param mixed $returnOrderReference
35
*/
36
public function __construct($_, $returnOrderReference)
Avoid variables with short names like $_. Configured minimum length is 3.
Short variable names may make your code harder to understand. Variable names should
be self-descriptive. This check looks for variable names who are shorter than
a configured minimum.
$_ is of type mixed, but the property $_ was declared to be of type Etrias\PaazlConnector\SoapTypes\labelType. Are you sure that you always receive this specific sub-class here, or does it make sense to add an instanceof check?
Our type inference engine has found a suspicous assignment of a value to a property.
This check raises an issue when a value that can be of a given class or a super-class
is assigned to a property that is type hinted more strictly.
Either this assignment is in error or an instanceof check should be added for that assignment.
This check looks for method names that are not written in camelCase.
In camelCase names are written without any punctuation, the start of each new
word being marked by a capital letter. Thus the name
database connection seeker becomes databaseConnectionSeeker.
Avoid variables with short names like $_. Configured minimum length is 3.
Short variable names may make your code harder to understand. Variable names should
be self-descriptive. This check looks for variable names who are shorter than
a configured minimum.
This check looks for method names that are not written in camelCase.
In camelCase names are written without any punctuation, the start of each new
word being marked by a capital letter. Thus the name
database connection seeker becomes databaseConnectionSeeker.
Loading history...
56
{
57
$this->_ = $_;
58
59
return $this;
60
}
61
62
/**
63
* @return string
64
*/
65
public function getReturnOrderReference()
66
{
67
return $this->returnOrderReference;
68
}
69
70
/**
71
* @param string $returnOrderReference
72
*
73
* @return $this
74
*/
75
public function setReturnOrderReference($returnOrderReference)
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString
.