mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-13 03:18:41 +00:00
static code analysis fixes
This commit is contained in:
parent
41008db93d
commit
8f41095e73
|
|
@ -126,7 +126,7 @@ final class ApiController extends Controller
|
||||||
*/
|
*/
|
||||||
private function createEmployeeFromAccountFromRequest(RequestAbstract $request) : array
|
private function createEmployeeFromAccountFromRequest(RequestAbstract $request) : array
|
||||||
{
|
{
|
||||||
$accounts = $request->getDataList('profiles') ?? [];
|
$accounts = $request->getDataList('profiles');
|
||||||
$employees = [];
|
$employees = [];
|
||||||
|
|
||||||
foreach ($accounts as $account) {
|
foreach ($accounts as $account) {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"friendsofphp/php-cs-fixer": ">=3.2",
|
"friendsofphp/php-cs-fixer": ">=3.2",
|
||||||
"squizlabs/php_codesniffer": ">=3.6",
|
"squizlabs/php_codesniffer": ">=3.6",
|
||||||
"phpmd/phpmd": ">=2.9",
|
"phpmd/phpmd": ">=2.9",
|
||||||
"phpstan/phpstan": ">=0.12.58",
|
"phpstan/phpstan": ">=1.5.4",
|
||||||
"phan/phan": ">=3.2.6"
|
"phan/phan": ">=3.2.6"
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user