@@ -223,6 +223,9 @@ |
||
| 223 | 223 | return $day; |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | + /** |
|
| 227 | + * @return DateTimeInterface |
|
| 228 | + */ |
|
| 226 | 229 | protected function applyTimezone(DateTimeInterface $date) |
| 227 | 230 | { |
| 228 | 231 | if ($this->timezone) { |
@@ -35,6 +35,9 @@ |
||
| 35 | 35 | return $flattened; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $key |
|
| 40 | + */ |
|
| 38 | 41 | public static function pull(&$array, $key, $default = null) |
| 39 | 42 | { |
| 40 | 43 | $value = $array[$key] ?? $default; |