mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
Clean up code.
This commit is contained in:
@@ -41,9 +41,7 @@ trait BasicDataSupport
|
||||
*/
|
||||
protected function isInArray(array $array, int $entryId) // helper for data (math, calculations)
|
||||
{
|
||||
$result = $array[$entryId] ?? '0';
|
||||
|
||||
return $result;
|
||||
return $array[$entryId] ?? '0';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user