1 | <?php |
||
17 | class ForwardingRule extends AbstractEntity |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | public $entryProtocol; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | public $entryPort; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | public $targetProtocol; |
||
33 | |||
34 | /** |
||
35 | * @var int |
||
36 | */ |
||
37 | public $targetPort; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | public $certificateId; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | public $tlsPassthrough; |
||
48 | |||
49 | /** |
||
50 | * @return $this |
||
51 | */ |
||
52 | public function setStandardHttpRules() |
||
61 | |||
62 | /** |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setStandardHttpsRules() |
||
75 | } |
||
76 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.