for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Orkhanahmadov\LaravelGoldenpay\Http\Controllers;
use Illuminate\Http\Request;
use Orkhanahmadov\LaravelGoldenpay\Goldenpay;
class PaymentResultController
{
/**
* @var Goldenpay
*/
private $goldenpay;
public function __construct(Goldenpay $goldenpay)
$this->goldenpay = $goldenpay;
}
public function success(Request $request)
$request
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
// $this->goldenpay->paymentKey();
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.