-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Proofread types doc #2840
Proofread types doc #2840
Conversation
d4efd01
to
8fb8d37
Compare
docs/en/reference/types.rst
Outdated
@@ -927,7 +927,10 @@ Now we implement our ``Doctrine\DBAL\Types\Type`` instance: | |||
} | |||
} | |||
|
|||
The job of Doctrine-DBAL is to transform your type into SQL declaration. You can modify the SQL declaration Doctrine will produce. At first, you must to enable this feature by overriding the canRequireSQLConversion method: | |||
The job of Doctrine-DBAL is to transform your type into SQL declaration. | |||
You can modify the SQL declaration Doctrine will produce. First, you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that Doctrine
docs/en/reference/types.rst
Outdated
@@ -927,7 +927,10 @@ Now we implement our ``Doctrine\DBAL\Types\Type`` instance: | |||
} | |||
} | |||
|
|||
The job of Doctrine-DBAL is to transform your type into SQL declaration. You can modify the SQL declaration Doctrine will produce. At first, you must to enable this feature by overriding the canRequireSQLConversion method: | |||
The job of Doctrine-DBAL is to transform your type into SQL declaration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And to convert values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or is that covered in the rest of this article?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is covered just below, on line 943
docs/en/reference/types.rst
Outdated
@@ -937,7 +940,8 @@ The job of Doctrine-DBAL is to transform your type into SQL declaration. You can | |||
return true; | |||
} | |||
|
|||
Then you override the methods convertToPhpValueSQL and convertToDatabaseValueSQL : | |||
Then you override the methods ``convertToPhpValueSQL`` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
methods
to be put at the end of this sentence
@Ocramius fixed, please review again |
continuousphp seems to be stuck... should I close and reopen? |
@greg0ire just amending/rebasing should restart continuousphp |
Clicking 2 buttons sounds easier :P |
It's unstuck :) |
ping @Ocramius |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍, maybe a single squashed commit instead of 6 would be cleaner though... 😇
Plz don't squash stuff unless needed 😅
…On 20 Sep 2017 04:45, "Michael Moravec" ***@***.***> wrote:
***@***.**** approved this pull request.
👍, maybe a single squashed commit instead of 6 would be cleaner
though... 😇
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2840 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJakJIxT27TGDVKZE-DGdlFISRRmc_Rks5skHxcgaJpZM4PLI5Y>
.
|
@Majkl578 if the PR is easier to read like that then no squash is needed :P |
I've got nothing to add for this PR. 👍 |
It seems to be the case in the rest of this document.
f98a021
to
4a584f3
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @greg0ire!
This should help making #2839 look less messy, and is far more mergeable.