Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 13 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
34 | private function ensureICanSeeAdvancedSearchBox() |
||
35 | { |
||
36 | $this->index->containsFilters([ |
||
37 | new Input('Domain name'), |
||
38 | new Input('Domain list (comma-separated)'), |
||
39 | new Input('IP'), |
||
40 | new Select2('Status'), |
||
41 | new Select2('Show aliases only'), |
||
42 | new Select2('Client'), |
||
43 | new Select2('Reseller'), |
||
44 | new Select2('Server'), |
||
45 | ]); |
||
46 | } |
||
47 | |||
76 |
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.