X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fv0.0%2Fion.stub.php;h=06eef69130538f46da3bdeb2f92fc8d172b0e4ff;hb=ff55d584097034aaea2db240f5b2b2717b2990f3;hp=5e389b41586229b306a69e28e8a5d05db3a3a896;hpb=b372aaf7f0eeabb9d0e73d142039d5c062ca59c7;p=awesomized%2Fext-ion diff --git a/docs/v0.0/ion.stub.php b/docs/v0.0/ion.stub.php index 5e389b4..06eef69 100644 --- a/docs/v0.0/ion.stub.php +++ b/docs/v0.0/ion.stub.php @@ -23,23 +23,23 @@ namespace ion; * * int * * float * * string - * * references - * * arrays - * * objects (incl. \Serializable, and classes implementing magic and custom __serialize) + * * reference + * * array + * * object (incl. \Serializable, and classes implementing magic and custom __serialize) * * @param mixed $data PHP value(s). * @param Serializer|null $serializer Custom serializer. * @return string serialized ION data - * @throws ion\Exception + * @throws \ion\Exception */ function serialize(mixed $data, ?Serializer $serializer = null) : string {} /** * Unserialize ION data (stream) as PHP value(s). * - * @param string|resource $data Serialized ION data, either as string buffer or stream,. + * @param string|resource $data Serialized ION data, either as string buffer or stream. * @return mixed unserialized PHP values - * @throws ion\Exception + * @throws \ion\Exception */ function unserialize($data, ?Unserializer $unserializer = null) : mixed {} @@ -256,7 +256,7 @@ class Decimal { /** * An ION Timestamp. - * @see https://amzn.github.io/ion-docs/docs/spec.html#timestamp the ION sepc's timestamp definintion + * @see https://amzn.github.io/ion-docs/docs/spec.html#timestamp the ION spec's timestamp definition * @see https://php.net/date PHP's date documentation */ class Timestamp extends \DateTime { @@ -374,7 +374,7 @@ interface Writer { namespace ion\Symbol; /** - * The import location (referring to a shared table= of a symbol. + * The import location (referring to a shared table) of a symbol. */ class ImportLocation { /** @@ -830,7 +830,7 @@ interface Stream extends \ion\Reader { namespace ion\Reader\Buffer; /** - * ION string buffer reader. + * ION buffer reader. */ class Reader extends \ion\Reader\Reader implements \ion\Reader\Buffer { /**