Completed
Push — master ( 543e5f...eade68 )
by Adam
08:58 queued 57s
created

IPub/Flysystem/Factories/Adapters/NullFactory.php (1 issue)

parameters are used.

Unused Code Minor

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * NullFactory.php
4
 *
5
 * @copyright      More in license.md
6
 * @license        http://www.ipublikuj.eu
7
 * @author         Adam Kadlec http://www.ipublikuj.eu
8
 * @package        iPublikuj:Flysystem!
9
 * @subpackage     Adapters
10
 * @since          1.0.0
11
 *
12
 * @date           23.04.16
13
 */
14
15
namespace IPub\Flysystem\Factories\Adapters;
16
17
use Nette;
18
use Nette\Utils;
19
20
use League\Flysystem;
21
use League\Flysystem\Adapter;
22
23
/**
24
 * NULL adapter filesystem factory
25
 *
26
 * @package        iPublikuj:Flysystem!
27
 * @subpackage     Adapters
28
 *
29
 * @author         Adam Kadlec <[email protected]>
30
 */
31
class NullFactory
32
{
33
	/**
34
	 * @param Utils\ArrayHash $parameters
35
	 *
36
	 * @return Adapter\NullAdapter
37
	 */
38
	public static function create(Utils\ArrayHash $parameters)
0 ignored issues
show
The parameter $parameters is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
39
	{
40
		return new Adapter\NullAdapter;
41
	}
42
}
43