mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-24 09:48:42 +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
|
||||
{
|
||||
$accounts = $request->getDataList('profiles') ?? [];
|
||||
$accounts = $request->getDataList('profiles');
|
||||
$employees = [];
|
||||
|
||||
foreach ($accounts as $account) {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
"friendsofphp/php-cs-fixer": ">=3.2",
|
||||
"squizlabs/php_codesniffer": ">=3.6",
|
||||
"phpmd/phpmd": ">=2.9",
|
||||
"phpstan/phpstan": ">=0.12.58",
|
||||
"phpstan/phpstan": ">=1.5.4",
|
||||
"phan/phan": ">=3.2.6"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user