@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_libraries_languages', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_libraries_languages', function(Blueprint $table) { |
|
17 | 17 | $table->bigInteger('library_id')->unsigned(); |
18 | 18 | $table->string('language_code', 31); |
19 | 19 | $table->text('translation', 65535); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_contents_libraries', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_contents_libraries', function(Blueprint $table) { |
|
17 | 17 | $table->bigInteger('content_id')->unsigned(); |
18 | 18 | $table->bigInteger('library_id')->unsigned(); |
19 | 19 | $table->string('dependency_type', 31); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_contents_tags', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_contents_tags', function(Blueprint $table) { |
|
17 | 17 | $table->bigInteger('content_id')->unsigned(); |
18 | 18 | $table->bigInteger('tag_id')->unsigned(); |
19 | 19 | $table->primary(['content_id', 'tag_id']); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_libraries_hub_cache', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_libraries_hub_cache', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->string('machine_name', 127); |
19 | 19 | $table->bigInteger('major_version')->unsigned(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_event_logs', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_event_logs', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->string('type'); |
19 | 19 | $table->string('sub_type'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_libraries_cachedassets', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_libraries_cachedassets', function(Blueprint $table) { |
|
17 | 17 | $table->bigInteger('library_id')->unsigned(); |
18 | 18 | $table->string('hash', 64); |
19 | 19 | $table->primary(['library_id', 'hash'], 'fk_primary'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('h5p_libraries', function (Blueprint $table) { |
|
16 | + Schema::create('h5p_libraries', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->timestamps(); |
19 | 19 | $table->string('name', 127); |
@@ -41,9 +41,9 @@ |
||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | - public function loadAddons(){} |
|
45 | - public function getLibraryConfig($libraries = NULL){} |
|
46 | - public function libraryHasUpgrade($library){} |
|
44 | + public function loadAddons() {} |
|
45 | + public function getLibraryConfig($libraries = NULL) {} |
|
46 | + public function libraryHasUpgrade($library) {} |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Implements setErrorMessage. |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $h5p->alter_assets($files, $libraries, 'editor'); |
32 | 32 | } |
33 | 33 | |
34 | - public function getAvailableLanguages($machineName, $majorVersion, $minorVersion){} |
|
34 | + public function getAvailableLanguages($machineName, $majorVersion, $minorVersion) {} |
|
35 | 35 | |
36 | 36 | public function getLanguage($machineName, $majorVersion, $minorVersion, $language) |
37 | 37 | { |