Skip to content

Commit

Permalink
Fix outdated method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Jan 28, 2017
1 parent 5bc84c0 commit a65e01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValueConverter/DateTimeToStringValueConverter.php
Expand Up @@ -33,7 +33,7 @@ public function __construct($outputFormat = 'Y-m-d H:i:s')
* @return \DateTime|string
* @throws UnexpectedValueException
*/
public function convert($input)
public function __invoke($input)
{
if (!$input) {
return;
Expand Down

0 comments on commit a65e01c

Please sign in to comment.