Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1210-1213 (lines=4) @@
1207
            ],
1208
        ];
1209
1210
        if (!is_null($this->action)) {
1211
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1212
            $this->action                                               = null;
1213
        }
1214
1215
        if (!is_null($this->filter)) {
1216
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1215-1217 (lines=3) @@
1212
            $this->action                                               = null;
1213
        }
1214
1215
        if (!is_null($this->filter)) {
1216
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1217
        }
1218
1219
        return json_encode($dataToJsonize);
1220
    }