Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducatel committed Jan 29, 2016
1 parent 87a0eb5 commit 9035851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions doc/services/object-store/objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,7 @@ Delete object

.. code-block:: php
/** @var bool $deleted */
$deleted = $container->deleteObject('{objectName}');
$container->deleteObject('{objectName}');
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/delete-object-without-download.php>`_
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenCloud/ObjectStore/Resource/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function deleteAllObjects()
*/
public function deleteObject($name)
{
$response = $this->getClient()
$this->getClient()
->delete($this->getUrl($name))
->send();
}
Expand Down

0 comments on commit 9035851

Please sign in to comment.