Code Duplication    Length = 8-8 lines in 2 locations

SandCage.php 2 locations

@@ 72-79 (lines=8) @@
69
	* The "list-files" service
70
	* @param array $payload values to send
71
	*/ 
72
	public function listFiles($payload) {
73
74
		$this->post = true;
75
		$this->post_fields = array('key'=>$this->sandcage_api_key) + $payload;
76
77
		$this->call($this->sandcage_api_endpoint_base . 'list-files');
78
79
	}
80
81
	/** 
82
	* The "get-info" service
@@ 85-92 (lines=8) @@
82
	* The "get-info" service
83
	* @param array $payload values to send
84
	*/ 
85
	public function getInfo($payload) {
86
87
		$this->post = true;
88
		$this->post_fields = array('key'=>$this->sandcage_api_key) + $payload;
89
90
		$this->call($this->sandcage_api_endpoint_base . 'get-info');
91
92
	}
93
94
	/** 
95
	* Send a requst using cURL