for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Surfnet\StepupGateway\GatewayBundle\Service;
use Surfnet\StepupBundle\Service\LocaleProviderService;
use Surfnet\StepupGateway\GatewayBundle\Saml\Proxy\ProxyStateHandler;
final class SecondFactorLocaleProvider implements LocaleProviderService
{
/**
* @var ProxyStateHandler
*/
private $stateHandler;
public function __construct(ProxyStateHandler $stateHandler)
$this->stateHandler = $stateHandler;
}
* @return string
string|null
This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.
@return
public function determinePreferredLocale()
return $this->stateHandler->getPreferredLocale();
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.