~ballot/wordpress/openstack-objectstorage-bis

« back to all changes in this revision

Viewing changes to src/OpenStack/ObjectStore/v1/Resource/StreamWrapper.php

  • Committer: mergebot at canonical
  • Author(s): "Thomas Cuthbert"
  • Date: 2020-05-28 05:06:27 UTC
  • mfrom: (5.1.1 openstack-objectstorage)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20200528050627-j9t5ubxen1cfak1s
Rename to SwiftObject as Object is a reserved keyword in php7

Reviewed-on: https://code.launchpad.net/~tcuthbert/wordpress/openstack-objectstorage/+merge/384694
Reviewed-by: Barry Price <barry.price@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
845
845
 
846
846
            // For many modes, we just go ahead and create.
847
847
            if ($this->createIfNotFound) {
848
 
                $this->obj = new Object($objectName);
 
848
                $this->obj = new SwiftObject($objectName);
849
849
                $this->objStream = fopen('php://temp', 'rb+');
850
850
 
851
851
                $this->isDirty = true;