Skip to content

Commit 486be6a

Browse files
committed
fix: remove unreachable code
phpstan: Client.php line 333 Unreachable statement - code above always terminates.
1 parent f72d38d commit 486be6a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Client.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,6 @@ public function setAccountProperty($accountName, $propertyName, $propertyValue)
329329
public function setAccountPicture($accountName, $filename)
330330
{
331331
return $this->uploadPhoto('/accounts/'.$accountName.'/setPicture', $filename);
332-
333-
$data = $this->getData('/accounts/'.$accountName.'/setPicture');
334-
335-
return $data;
336332
}
337333

338334
public function addAccountUser($accountName, $userName, $isAdmin)

0 commit comments

Comments
 (0)