for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TestMonitor\DoneDone\Actions;
use TestMonitor\DoneDone\Transforms\TransformsAccounts;
trait ManagesAccounts
{
use TransformsAccounts;
/**
* Get a list of of accounts.
*
* @return \TestMonitor\DoneDone\Resources\Account[]
*/
public function accounts(): array
$result = $this->get('accounts');
get()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
return array_map(function ($project) {
return $this->fromDoneDoneAccount($project);
}, $result);
}