mirror of
https://github.com/Karaka-Management/oms-BusinessExpenses.git
synced 2026-05-30 00:58:40 +00:00
phcbf autofixes
This commit is contained in:
parent
486d386489
commit
7290393f2a
|
|
@ -54,8 +54,8 @@ final class Installer extends InstallerAbstract
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var array $types */
|
/** @var array $types */
|
||||||
$types = \json_decode($fileContent, true);
|
$types = \json_decode($fileContent, true);
|
||||||
$expenseTypes = self::createExpenseTypes($app, $types);
|
$expenseTypes = self::createExpenseTypes($app, $types);
|
||||||
|
|
||||||
/* Element types */
|
/* Element types */
|
||||||
$fileContent = \file_get_contents(__DIR__ . '/Install/elementtypes.json');
|
$fileContent = \file_get_contents(__DIR__ . '/Install/elementtypes.json');
|
||||||
|
|
@ -64,8 +64,8 @@ final class Installer extends InstallerAbstract
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var array $types */
|
/** @var array $types */
|
||||||
$types = \json_decode($fileContent, true);
|
$types = \json_decode($fileContent, true);
|
||||||
$elementTypes = self::createExpenseElementTypes($app, $types);
|
$elementTypes = self::createExpenseElementTypes($app, $types);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@ use phpOMS\Stdlib\Base\FloatInt;
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class Expense {
|
class Expense
|
||||||
|
{
|
||||||
public int $id = 0;
|
public int $id = 0;
|
||||||
|
|
||||||
public Account $from;
|
public Account $from;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user