Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

@@ 1031-1034 (lines=4) @@
1028
            ],
1029
        ];
1030
1031
        if (!is_null($this->action)) {
1032
            $dataToJsonize[$this->nameSpace][$this->evidence.'@action'] = $this->action;
1033
            $this->action                                               = null;
1034
        }
1035
1036
        if (!is_null($this->filter)) {
1037
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
@@ 1036-1038 (lines=3) @@
1033
            $this->action                                               = null;
1034
        }
1035
1036
        if (!is_null($this->filter)) {
1037
            $dataToJsonize[$this->nameSpace][$this->evidence.'@filter'] = $this->filter;
1038
        }
1039
1040
        return json_encode($dataToJsonize);
1041
    }