Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dao generation to set null value in datatime #150

Merged
merged 2 commits into from Jul 17, 2017

Conversation

marcteyssier
Copy link

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 45.888% when pulling b5fa34e on marcteyssier:3.4 into 6a587e6 on thecodingmachine:3.4.

@@ -201,7 +201,7 @@ public function '.$columnGetterName.'() {
* @dbColumn '.$column->name.'
* @param '.($castDatesToDateTime?'\\DateTimeImmutable|null':'timestamp|null').' $'.$column->name.'
*/
public function '.$columnSetterName.'('.($castDatesToDateTime?'\\DateTimeImmutable ':'').'$'.$column->name.') {
public function '.$columnSetterName.'('.($castDatesToDateTime?'\\DateTimeImmutable ':'').'$'.$column->name.''.($castDatesToDateTime?' = null':'').') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu peux virer le .''. qui ne sert à rien?
A part ça, 👍

@coveralls
Copy link

Coverage Status

Coverage remained the same at 45.888% when pulling b82a28f on marcteyssier:3.4 into 6a587e6 on thecodingmachine:3.4.

@moufmouf moufmouf merged commit 82f8aff into thecodingmachine:3.4 Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants