Completed
Push — master ( 754609...dfe21c )
by Adam
02:51
created

IPub/Flysystem/Factories/Cache/MemoryFactory.php (1 issue)

Severity

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
 * MemoryFactory.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     Cache
10
 * @since          1.0.0
11
 *
12
 * @date           23.04.16
13
 */
14
15
namespace IPub\Flysystem\Factories\Cache;
16
17
use Nette;
18
use Nette\Utils;
19
20
use League\Flysystem;
21
use League\Flysystem\Cached;
22
23
/**
24
 * Memory cache
25
 *
26
 * @package        iPublikuj:Flysystem!
27
 * @subpackage     Cache
28
 *
29
 * @author         Adam Kadlec <[email protected]>
30
 */
31
class MemoryFactory
32 1
{
33
	/**
34
	 * @param Utils\ArrayHash $parameters
35
	 *
36
	 * @return Cached\Storage\Memory
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 1
		return new Cached\Storage\Memory;
41
	}
42
}
43