mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup
This commit is contained in:
@@ -60,7 +60,7 @@ class UserLight extends BunqObject
|
||||
*/
|
||||
public function __construct(array $data)
|
||||
{
|
||||
if (0 === count($data)) {
|
||||
if (0 === \count($data)) {
|
||||
return;
|
||||
}
|
||||
$this->id = (int)$data['id'];
|
||||
@@ -78,6 +78,7 @@ class UserLight extends BunqObject
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function toArray(): array
|
||||
{
|
||||
|
Reference in New Issue
Block a user