Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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