Skip to content

Commit 7f3d495

Browse files
committed
Correcting some return statements.
1 parent cc98a77 commit 7f3d495

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ACL/ACLClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function create(ACLEntry $acl, WriteOptions $writeOptions = null)
4444
/** @var \Psr\Http\Message\ResponseInterface $response */
4545
list($duration, $response, $err) = $this->requireOK($this->doRequest($r));
4646
if (null !== $err)
47-
return [null, $err];
47+
return ['', null, $err];
4848

4949
$wm = $this->buildWriteMeta($duration);
5050

@@ -114,7 +114,7 @@ public function cloneACL($id, WriteOptions $writeOptions = null)
114114
/** @var \Psr\Http\Message\ResponseInterface $response */
115115
list($duration, $response, $err) = $this->requireOK($this->doRequest($r));
116116
if (null !== $err)
117-
return [null, null, $err];
117+
return ['', null, $err];
118118

119119
$wm = $this->buildWriteMeta($duration);
120120

0 commit comments

Comments
 (0)