| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 62 | public function getJobData() { |
||
| 63 | $data = new stdClass(); |
||
| 64 | $data->totalSteps = $this->totalSteps; |
||
| 65 | $data->currentStep = $this->currentStep; |
||
| 66 | $data->isComplete = $this->isComplete; |
||
| 67 | $data->jobData = $this->jobData; |
||
| 68 | $data->messages = $this->messages; |
||
| 69 | $data->packageID = $this->packageID; |
||
| 70 | |||
| 71 | return $data; |
||
| 72 | } |
||
| 73 | |||
| 83 |
Unless you are absolutely sure that the expression can never be null because of other conditions, we strongly recommend to add an additional type check to your code: