for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Signifly\Shopify\REST\Actions;
use Signifly\Shopify\REST\Resources\BalanceResource;
use Signifly\Shopify\Shopify;
/** @mixin Shopify */
trait ManagesShopifyPayments
{
public function getBalance(): BalanceResource
$response = $this->get('shopify_payments/balance');
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 new BalanceResource($response['balance'], $this);
}