Skip to content

Commit 9035851

Browse files
committed
Remove unused variables
1 parent 87a0eb5 commit 9035851

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/services/object-store/objects.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,7 @@ Delete object
500500

501501
.. code-block:: php
502502
503-
/** @var bool $deleted */
504-
$deleted = $container->deleteObject('{objectName}');
503+
$container->deleteObject('{objectName}');
505504
506505
507506
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/delete-object-without-download.php>`_

lib/OpenCloud/ObjectStore/Resource/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function deleteAllObjects()
243243
*/
244244
public function deleteObject($name)
245245
{
246-
$response = $this->getClient()
246+
$this->getClient()
247247
->delete($this->getUrl($name))
248248
->send();
249249
}

0 commit comments

Comments
 (0)