This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
15
{
16
17
/**
18
* Compiler for stub file.
19
*
20
* @var StubFileCompiler
21
*/
22
protected $compiler;
23
24
/**
25
* Compiler for stub file.
26
*
27
* @var Filesystem
28
*/
29
protected $filesystem;
30
31
/**
32
* Replacements.
33
*
34
* @var array
35
*/
36
protected $replacements;
37
38
/**
39
* Route constructor.
40
*
41
* @param StubFileCompiler $compiler
42
* @param Filesystem $filesystem
43
*/
44
public function __construct(StubFileCompiler $compiler, Filesystem $filesystem)
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.