| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 66 | public static function getProfileBackground() |
||
| 67 | { |
||
| 68 | $now = Carbon::now(); |
||
| 69 | $day = $now->day; |
||
| 70 | |||
| 71 | if (isset(static::$daysReferences[$day])) { |
||
| 72 | return static::$prefix . static::$daysReferences[$day] . static::$extension; |
||
| 73 | } |
||
| 74 | |||
| 75 | return static::$prefix . '1' . static::$extension; |
||
| 76 | } |
||
| 77 | } |
||
| 78 |