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...
22
{
23
/**
24
* @var integer
25
*/
26
public $id;
27
/**
28
* Opis
29
*
30
* @var string
31
*/
32
public $str;
33
/**
34
* @var boolean
35
*/
36
public $przewazajaca;
37
38
39
/**
40
* Pkd constructor.
41
*
42
* @param \stdClass|null $oData
43
*
44
* @throws \mrcnpdlk\MojePanstwo\Exception
45
*/
46
public function __construct(\stdClass $oData = null)
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.