Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1048-1051 (lines=4) @@
1045
            ],
1046
        ];
1047
1048
        if (!is_null($this->action)) {
1049
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1050
            $this->action                                               = null;
1051
        }
1052
1053
        if (!is_null($this->filter)) {
1054
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1053-1055 (lines=3) @@
1050
            $this->action                                               = null;
1051
        }
1052
1053
        if (!is_null($this->filter)) {
1054
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1055
        }
1056
1057
        return json_encode($dataToJsonize);
1058
    }