<?php

namespace UserControlSkeleton;

class Requests
{
	protected $data;

	public function __construct()
	{
		foreach ($_POST as $key => $value) {
			$this->data[$key] = $value;
		}
	}

	public function get($field)
	{
		if (!array_key_exists($field, $this->data)) {
			return;
		}

		return $this->data[$field];
	}

	public function toArray()
	{
		return $this->data;
	}
}

<?php

namespace UserControlSkeleton;

class Requests
{
	protected $data;

	public function __construct()
	{
		foreach ($_POST as $key => $value) {
			$this->data[$key] = $value;
		}
	}

	public function get($field)
	{
		if (!array_key_exists($field, $this->data)) {
			return;
		}

		return $this->data[$field];
	}

	public function toArray()
	{
		foreach ($this->data as $field) {
			$this->data[] = $field;
		}

		return $this->data;
	}
}

--- 
+++ 
@@ -24,10 +24,6 @@
 
 	public function toArray()
 	{
-		foreach ($this->data as $field) {
-			$this->data[] = $field;
-		}
-
 		return $this->data;
 	}
 }
Fix toArray method, was returning extra elements
