Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1039-1042 (lines=4) @@
1036
            ],
1037
        ];
1038
1039
        if (!is_null($this->action)) {
1040
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1041
            $this->action                                               = null;
1042
        }
1043
1044
        if (!is_null($this->filter)) {
1045
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1044-1046 (lines=3) @@
1041
            $this->action                                               = null;
1042
        }
1043
1044
        if (!is_null($this->filter)) {
1045
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1046
        }
1047
1048
        return json_encode($dataToJsonize);
1049
    }