@@ -98,7 +98,7 @@ |
||
98 | 98 | */ |
99 | 99 | protected function setTemplate(string $template): void { |
100 | 100 | if(!is_file($template) || !is_readable($template)) { |
101 | - throw new \RuntimeException("File $template does not exist or is not readable."); |
|
101 | + throw new \RuntimeException("file $template does not exist or is not readable."); |
|
102 | 102 | } |
103 | 103 | $this->template = $template; |
104 | 104 | } |
@@ -79,7 +79,7 @@ |
||
79 | 79 | }); |
80 | 80 | $resolver->setAllowedTypes("skipDays", "string[]"); |
81 | 81 | $resolver->setAllowedValues("skipDays", function(array $value): bool { |
82 | - $allowedValues = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday",]; |
|
82 | + $allowedValues = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", ]; |
|
83 | 83 | return Arrays::every($value, function(string $value) use ($allowedValues): bool { |
84 | 84 | return in_array($value, $allowedValues, true); |
85 | 85 | }); |