Skip to content

Commit

Permalink
Correcting some return statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Mar 30, 2017
1 parent cc98a77 commit 7f3d495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ACL/ACLClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function create(ACLEntry $acl, WriteOptions $writeOptions = null)
/** @var \Psr\Http\Message\ResponseInterface $response */
list($duration, $response, $err) = $this->requireOK($this->doRequest($r));
if (null !== $err)
return [null, $err];
return ['', null, $err];

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

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

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

Expand Down

0 comments on commit 7f3d495

Please sign in to comment.