@@ -58,7 +58,7 @@ |
||
58 | 58 | * Caso o atributo pesquisado não exista, a função retornará falso. |
59 | 59 | * @param $obj |
60 | 60 | * @param $nomeAtributo |
61 | - * @return bool|string |
|
61 | + * @return string|false |
|
62 | 62 | * @throws Exception |
63 | 63 | */ |
64 | 64 | public function pegaNomeAtributoEspecifico($obj, $nomeAtributo) |
@@ -198,8 +198,8 @@ |
||
198 | 198 | $atributos = []; |
199 | 199 | $tamanho = count(self::retornaClassesMaes($obj)); |
200 | 200 | for ($i = 0; |
201 | - $i < $tamanho; |
|
202 | - $i++) { |
|
201 | + $i < $tamanho; |
|
202 | + $i++) { |
|
203 | 203 | $atributos[$i] = array(self::retornaClassesMaes($obj)[$i] => |
204 | 204 | self::pegaAtributosDoObjeto(self::retornaClassesMaes($obj)[$i])); |
205 | 205 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | *Constante que define a base de onde está localizado o projeto |
13 | 13 | */ |
14 | -define("BASE_DIR",str_replace('\\', '/', dirname(__FILE__))); |
|
14 | +define("BASE_DIR", str_replace('\\', '/', dirname(__FILE__))); |
|
15 | 15 | |
16 | 16 | |
17 | 17 | /** |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | public function __construct() |
16 | 16 | { |
17 | - spl_autoload_register(function ($class) { |
|
17 | + spl_autoload_register(function($class) { |
|
18 | 18 | include_once(str_replace('\\', '/', $class . '.php')); |
19 | 19 | }); |
20 | 20 | } |