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...
6
{
7
/**
8
* @var string[]
9
*/
10
private $preservedIndexingOptions = [];
11
/**
12
* @var string[]
13
*/
14
private $preservedMappingParameters = [];
15
/**
16
* @var bool
17
*/
18
private $preserveUnknownEntries = false;
19
20
/**
21
* @return string[]
22
*/
23
public function getPreservedIndexingOptions(): array
24
{
25
return $this->preservedIndexingOptions;
26
}
27
28
/**
29
* @param string[] $preservedIndexingOptions
30
* @return $this
31
*/
32
public function setPreservedIndexingOptions(array $preservedIndexingOptions): Context
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.