| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 50 | public function updateValue ($from, $to) |
||
|
|
|||
| 51 | { |
||
| 52 | $url = sprintf("%s/%d/columns/%s/timeline.json", self::apiEndpoint(), $this->board_id, $this->column_id); |
||
| 53 | $postParams = array( |
||
| 54 | "pulse_id" => $this->pulse_id, |
||
| 55 | "from" => $from->format('Y-m-d'), |
||
| 56 | "to" => $to->format('Y-m-d') |
||
| 57 | ); |
||
| 58 | |||
| 59 | self::sendPut($url, $postParams); |
||
| 60 | |||
| 61 | $this->column_value = array( |
||
| 62 | 'from' => $from, |
||
| 63 | 'to' => $to |
||
| 64 | ); |
||
| 65 | } |
||
| 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.