| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function getValue () |
||
| 28 | { |
||
| 29 | if (!isset($this->column_value)) |
||
| 30 | { |
||
| 31 | $this->column_value = array( |
||
| 32 | 'from' => new \DateTime($this->jsonResponse["value"]["from"]), |
||
| 33 | 'to' => new \DateTime($this->jsonResponse["value"]["to"]) |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 37 | return $this->column_value; |
||
| 38 | } |
||
| 39 | |||
| 66 | } |
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.