Code Duplication    Length = 3-4 lines in 2 locations

src/FlexiPeeHP/FlexiBeeRO.php 2 locations

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