Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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