Various code clean up. [skip ci]

This commit is contained in:
James Cole
2016-08-26 08:21:31 +02:00
parent e7a0a5937c
commit d0c6afc3a9
56 changed files with 205 additions and 184 deletions

View File

@@ -40,10 +40,12 @@ class Date extends BasicConverter implements ConverterInterface
Log::info($e->getMessage());
Log::info('Cannot convert this string using the given format.', ['value' => $value, 'format' => $this->config['date-format']]);
$this->setCertainty(0);
return new Carbon;
}
Log::debug('Converted date', ['converted' => $date->toAtomString()]);
$this->setCertainty(100);
return $date;
}
}