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...
9
{
10
/** @var Bib */
11
public $bib;
12
13
/** @var Representation */
14
public $representation;
15
16
/** @var Requests */
17
public $requests;
18
19
/** @var string */
20
public $file_id;
21
22
/**
23
* File constructor.
24
*
25
* @param Client $client
26
* @param Bib $bib
27
* @param Representation $representation
28
* @param $file_id
29
*/
30
public function __construct(Client $client, Bib $bib, Representation $representation, $file_id)
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.