PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/google/cloud-storage/src/Acl.php +4 -4 1.2.3 → 1.4.2 View file →
@@ -14,11 +14,11 @@
14 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 15 * See the License for the specific language governing permissions and
16 16 * limitations under the License.
17 17 */
18 -namespace Dudlewebs\WPMCS\Google\Cloud\Storage;
18 +namespace Dudlewebs\WPMCS\GCP\Google\Cloud\Storage;
19 19
20 -use Dudlewebs\WPMCS\Google\Cloud\Storage\Connection\ConnectionInterface;
20 +use Dudlewebs\WPMCS\GCP\Google\Cloud\Storage\Connection\ConnectionInterface;
21 21 use InvalidArgumentException;
22 22 /**
23 23 * Google Cloud Storage uses access control lists (ACLs) to manage bucket and
24 24 * object access. ACLs are the mechanism you use to share objects with other
@@ -61,10 +61,10 @@
61 61 */
62 62 public function __construct(ConnectionInterface $connection, $type, array $identity)
63 63 {
64 64 $validTypes = ['bucketAccessControls', 'defaultObjectAccessControls', 'objectAccessControls'];
65 - if (!in_array($type, $validTypes)) {
66 - throw new InvalidArgumentException('type must be one of the following: ' . implode(', ', $validTypes));
65 + if (!\in_array($type, $validTypes)) {
66 + throw new InvalidArgumentException('type must be one of the following: ' . \implode(', ', $validTypes));
67 67 }
68 68 $this->connection = $connection;
69 69 $this->aclOptions = $identity + ['type' => $type];
70 70 }