Fix grammar in MongoCommandCursor::timeout() docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335346 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2014-12-23 21:34:42 +00:00
parent a9502d1ec1
commit 4688808f52

View file

@ -61,7 +61,7 @@
<para>
In the following example, the driver will wait for 60 seconds for the
first response from the aggregate command. It will also wait for 60
seconds, each time the server needs to be polled for more information.
seconds each time the server needs to be polled for more information.
</para>
<programlisting role="php">
<![CDATA[
@ -92,8 +92,8 @@ foreach ( $cursor as $result )
This does not cause the MongoDB server to cancel long-running operations;
it only instructs the driver to stop waiting for a response and throw a
<classname>MongoCursorTimeoutException</classname> after a set time.
If you need to specify a server-side timeout for a command, consider
passing the <literal>maxTimeMS</literal> as an option to
If you need to specify a server-side timeout for a command, considering
passing the <literal>maxTimeMS</literal> option to
<methodname>MongoCollection::aggregateCursor</methodname>.
</para>
</warning>