for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);
namespace Spiral\Tests\Http\Diactoros;
use Psr\Http\Message\UriFactoryInterface;
use Psr\Http\Message\UriInterface;
use Laminas\Diactoros\Uri;
final class UriFactory implements UriFactoryInterface
{
* @param string $uri
* @return UriInterface
public function createUri(string $uri = ''): UriInterface
return new Uri($uri);
}