Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1103-1106 (lines=4) @@
1100
            ],
1101
        ];
1102
1103
        if (!is_null($this->action)) {
1104
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1105
            $this->action                                               = null;
1106
        }
1107
1108
        if (!is_null($this->filter)) {
1109
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1108-1110 (lines=3) @@
1105
            $this->action                                               = null;
1106
        }
1107
1108
        if (!is_null($this->filter)) {
1109
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1110
        }
1111
1112
        return json_encode($dataToJsonize);
1113
    }