| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 12 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | View Code Duplication | public function guid($guid) |
|
| 35 | { |
||
| 36 | $this->checkGuId($guid); |
||
| 37 | $this->url = ''; |
||
| 38 | $ParameterQuery = '(guid'; |
||
| 39 | $ParameterQuery.= "'"; |
||
| 40 | $ParameterQuery.= $guid; |
||
| 41 | $ParameterQuery.= "'"; |
||
| 42 | $ParameterQuery.=')'; |
||
| 43 | |||
| 44 | return $this->concatenationUrlCurl($ParameterQuery); |
||
| 45 | } |
||
| 46 | } |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: