@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | return true; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - if (! $user) { |
|
| 26 | + if (!$user) { |
|
| 27 | 27 | return false; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | $output = []; |
| 46 | 46 | foreach ($period as $date) { |
| 47 | - $date = $date->format('d-m-Y'); |
|
| 47 | + $date = $date->format('d-m-Y'); |
|
| 48 | 48 | $output[$date] = (new static)->getCountForDate($date, 'd-m-Y'); |
| 49 | 49 | } |
| 50 | 50 | |