Fix grammar

Patch provided by Travis Raymond Uribe.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341920 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2017-02-17 18:06:35 +00:00
parent 6a8863a5a9
commit b9f7ef8203

View file

@ -20,7 +20,7 @@
<link linkend="object.sleep">__sleep()</link> and
<link linkend="object.wakeup">__wakeup()</link>. The method serialize is
called whenever an instance needs to be serialized. This does not invoke __destruct()
or has any other side effect unless programmed inside the method. When the data is
or have any other side effect unless programmed inside the method. When the data is
unserialized the class is known and the appropriate unserialize() method is called as
a constructor instead of calling __construct(). If you need to execute the standard
constructor you may do so in the method.
@ -29,7 +29,7 @@
Note, that when an old instance of a class that implements this interface
now, which had been serialized before the class implemeted the interface, is
unserialized, <link linkend="object.wakeup">__wakeup()</link> is called
instead of the serialize method, what might be useful for migration
instead of the serialize method, which might be useful for migration
purposes.
</para>
</section>