Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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