for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* NullFactory.php
*
* @copyright More in license.md
* @license https://www.ipublikuj.eu
* @author Adam Kadlec <[email protected]>
* @package iPublikuj:Flysystem!
* @subpackage Adapters
* @since 1.0.0
* @date 23.04.16
*/
declare(strict_types = 1);
namespace IPub\Flysystem\Factories\Adapters;
use Nette\Utils;
use League\Flysystem\Adapter;
* NULL adapter filesystem factory
class NullFactory
{
* @param Utils\ArrayHash $parameters
* @return Adapter\NullAdapter
public static function create(Utils\ArrayHash $parameters) : Adapter\NullAdapter
$parameters
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 Adapter\NullAdapter;
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.