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 $osoba_id;
27
/**
28
* @var string
29
*/
30
public $nazwa;
31
/**
32
* @var string
33
*/
34
public $data_urodzenia;
35
/**
36
* @var string
37
*/
38
public $privacy_level;
39
/**
40
* @var string
41
*/
42
public $funkcja;
43
44
45
/**
46
* Person constructor.
47
*
48
* @param \stdClass|null $oData
49
*
50
* @throws \mrcnpdlk\MojePanstwo\Exception
51
*/
52
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.