Skip to content

Commit

Permalink
Fixed doc typos mentioned on the forum.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremeamia committed Jun 13, 2014
1 parent 930f73e commit 4486600
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,7 +4,8 @@ CHANGELOG
2.6.7 (2014-06-12)
------------------

* Added support for Amazon S3 customer provided encryption keys.
* Added support for Amazon S3 server-side encryption using customer-provided
encryption keys.
* Updated Amazon SNS to support message attributes.
* Updated the Amazon Redshift model to support new cluster parameters.
* Updated PHPUnit dev dependency to 4.* to work around a PHP serializing bug.
Expand Down
6 changes: 3 additions & 3 deletions docs/feature-s3-stream-wrapper.rst
Expand Up @@ -147,7 +147,7 @@ filesize() Get the size of an object.
.. code-block:: php

// Get the Content-Length of an object
$size = filesize('s3://bucket/key', );
$size = filesize('s3://bucket/key');

is_file() Checks if a URL is a file.

Expand Down Expand Up @@ -201,11 +201,11 @@ parameters available to the
.. code-block:: php
// Create a bucket in the EU region
mkdir('s3://bucket', stream_context_create(array(
mkdir('s3://bucket', '0777', false, stream_context_create(array(
's3' => array(
'LocationConstraint' => 'eu-west-1'
)
));
)));
You can delete buckets using the ``rmdir()`` function.

Expand Down

0 comments on commit 4486600

Please sign in to comment.