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

@ -27,7 +27,8 @@ class Neuron {
*
* @param array $data
*/
public function __construct(...$data) {
public function __construct(...$data)
{
if (count($data) === 1 &&
isset($data[0]) &&
(is_array($data[0]) ||
@ -42,9 +43,10 @@ class Neuron {
* __get
*
* @param string $index
* @return mixed
* @return null
*/
public function __get(string $index) : mixed {
public function __get(string $index): null
{
return null;
}
}