for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Sylius\ShopApiPlugin\View;
class VariantOptionView
{
/**
* @var string
*/
public $name;
* @var VariantOptionValueView
public $value;
public function __construct($value)
$value
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->value = new VariantOptionValueView();
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.