for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Moka\Factory;
use Moka\Generator\ProxyGenerator;
class ProxyGeneratorFactory
{
/**
* @param string $fqcn
* @param MockingStrategyInterface $mockingStrategy
* @return ProxyInterface
*/
public static function get(string $fqcn, MockingStrategyInterface $mockingStrategy)
$fqcn
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return (new ProxyGenerator($mockingStrategy));
}
protected static function build(string $fqcn, MockingStrategyInterface $mockingStrategy)
return new Proxy($fqcn, $mockingStrategy);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.