Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Remove deprecated method isEpochTemporal in Propel2
Browse files Browse the repository at this point in the history
  • Loading branch information
iTechDhaval committed Mar 11, 2016
1 parent 8725441 commit 3b907d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/ORM/Propel2/ColumnTypeGuesser.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function guessFormat(ColumnMap $column)
{
$generator = $this->generator;
if ($column->isTemporal()) {
if ($column->isEpochTemporal()) {
if ($column->getType() == PropelTypes::BU_DATE || $column->getType() == PropelTypes::BU_TIMESTAMP) {
return function () use ($generator) {
return $generator->dateTime;
};
Expand Down

0 comments on commit 3b907d8

Please # to comment.