Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed May 19, 2017
1 parent 028e3d0 commit f7bc885
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Database/Type/DateTimeType.php
Expand Up @@ -118,6 +118,7 @@ public function toDatabase($value, Driver $driver)
}

$format = (array)$this->_format;

return $value->format(array_shift($format));
}

Expand Down Expand Up @@ -210,7 +211,7 @@ public function marshal($value)
}

/**
* @param \Cake\I18n\Time|\DateTime $date
* @param \Cake\I18n\Time|\DateTime $date DateTime object
* @param mixed $value Request data
* @return bool
*/
Expand Down

0 comments on commit f7bc885

Please sign in to comment.