Passed
Push — master ( e21443...def3c9 )
by Abdelouahab
13:14
created
migrations/2017_05_10_015415_create_h5p_contents_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('h5p_contents', function (Blueprint $table) {
16
+        Schema::create('h5p_contents', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18 18
             $table->timestamps();
19 19
             $table->bigInteger('user_id')->unsigned();
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_libraries_languages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_contents_libraries_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_contents_tags_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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']);
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_libraries_hub_cache_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_event_logs_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_libraries_cachedassets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
migrations/2017_05_10_015415_create_h5p_libraries_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/LaravelH5p/Http/Controllers/AjaxController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
             //   public function getLibraryData($machineName, $majorVersion, $minorVersion, $languageCode, $prefix = '', $fileDir = '', $defaultLanguage) {
31 31
 
32
-            $editor->ajax->action(H5PEditorEndpoints::SINGLE_LIBRARY, $machineName, $major_version, $minor_version, $h5p->get_language(), '', $h5p->get_h5plibrary_url('', true), $defaultLanguag);  //$defaultLanguage
32
+            $editor->ajax->action(H5PEditorEndpoints::SINGLE_LIBRARY, $machineName, $major_version, $minor_version, $h5p->get_language(), '', $h5p->get_h5plibrary_url('', true), $defaultLanguag); //$defaultLanguage
33 33
             // Log library load
34 34
             event(new H5pEvent('library', null, null, null, $machineName, $major_version.'.'.$minor_version));
35 35
         } else {
Please login to merge, or discard this patch.