@@ -28,11 +28,11 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | if (preg_match('/^[a-zA-Z]{3} \d{4}$/', $input)) { |
| 31 | - return (new \DateTime($input))->format('Y-m') . '-00'; |
|
| 31 | + return (new \DateTime($input))->format('Y-m').'-00'; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | if (preg_match('/^\d{4}$/', $input)) { |
| 35 | - return $input . '-00-00'; |
|
| 35 | + return $input.'-00-00'; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | throw new UnrecognizedDateFormat($input); |