@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | // PATH aliases |
4 | -define('ROOT_PATH', __DIR__ ); |
|
5 | -define('MIGRATIONS_PATH', __DIR__ . '/app/database/migrations'); |
|
6 | -define('SEEDS_PATH', __DIR__ . '/app/database/seeds'); |
|
7 | -define('MODELS_PATH', __DIR__ . '/app/src/Model'); |
|
8 | -define('SCHEMAS_PATH', __DIR__ . '/app/src/Schema'); |
|
9 | -define('COMMANDS_PATH', __DIR__ . '/app/src/Console/Commands'); |
|
10 | -define('CODE_TEMPLATE_PATH', __DIR__ . '/app/src/Console/CodeTemplates'); |
|
11 | -define('CONFIG_PATH', __DIR__ . '/config'); |
|
12 | -define('APP_PATH', __DIR__ . '/app'); |
|
4 | +define('ROOT_PATH', __DIR__); |
|
5 | +define('MIGRATIONS_PATH', __DIR__.'/app/database/migrations'); |
|
6 | +define('SEEDS_PATH', __DIR__.'/app/database/seeds'); |
|
7 | +define('MODELS_PATH', __DIR__.'/app/src/Model'); |
|
8 | +define('SCHEMAS_PATH', __DIR__.'/app/src/Schema'); |
|
9 | +define('COMMANDS_PATH', __DIR__.'/app/src/Console/Commands'); |
|
10 | +define('CODE_TEMPLATE_PATH', __DIR__.'/app/src/Console/CodeTemplates'); |
|
11 | +define('CONFIG_PATH', __DIR__.'/config'); |
|
12 | +define('APP_PATH', __DIR__.'/app'); |
|
13 | 13 |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * @param $name |
57 | - * @param $table |
|
57 | + * @param string $table |
|
58 | 58 | * @return bool |
59 | 59 | */ |
60 | 60 | private function isRowExist($name, $table) |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | /** |
67 | 67 | * @param $name |
68 | - * @param $table |
|
68 | + * @param string $table |
|
69 | 69 | */ |
70 | 70 | private function insertRow($name, $table) |
71 | 71 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @param $name |
79 | - * @param $table |
|
79 | + * @param string $table |
|
80 | 80 | */ |
81 | 81 | private function deleteRow($name, $table) |
82 | 82 | { |