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...
14
{
15
16
/**
17
* Compiler for stub file.
18
*
19
* @var StubFileCompiler
20
*/
21
protected $compiler;
22
23
/**
24
* Compiler for stub file.
25
*
26
* @var Filesystem
27
*/
28
protected $filesystem;
29
30
/**
31
* Replacements.
32
*
33
* @var array
34
*/
35
protected $replacements;
36
37
/**
38
* Route constructor.
39
*
40
* @param StubFileCompiler $compiler
41
* @param Filesystem $filesystem
42
*/
43
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.