Reorganize code for PSR and others code prettify.

This commit is contained in:
KJ
2024-05-09 15:13:52 -04:00
parent 6a1085b224
commit f5f803dde2
7 changed files with 191 additions and 67 deletions

View File

@ -39,7 +39,8 @@ class Request extends Neuron {
*
* @param string $path Ruta actual tomando como raíz la instalación de DuckBrain.
*/
public function __construct(string $path = '/') {
public function __construct(string $path = '/')
{
$this->path = $path;
$this->get = new Neuron($_GET);
$this->post = new Neuron($_POST);