| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function execute($projectId) |
||
| 39 | { |
||
| 40 | $this->logger->debug(__METHOD__.' Run project metrics calculation'); |
||
|
|
|||
| 41 | $now = date('Y-m-d'); |
||
| 42 | |||
| 43 | $this->projectDailyColumnStatsModel->updateTotals($projectId, $now); |
||
| 44 | $this->projectDailyStatsModel->updateTotals($projectId, $now); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
Since your code implements the magic getter
_get, this function will be called for any read access on an undefined variable. You can add the@propertyannotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.