@@ -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 | { |
@@ -9,8 +9,7 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | public function up() |
| 11 | 11 | { |
| 12 | - Capsule::schema()->create('media_files', function($table) |
|
| 13 | - { |
|
| 12 | + Capsule::schema()->create('media_files', function($table) { |
|
| 14 | 13 | $table->increments('id'); |
| 15 | 14 | $table->string('file'); |
| 16 | 15 | $table->string('file_info'); |