Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaoyi Zha <summermontreal@gmail.com>2017-02-11 18:18:49 +0300
committerChaoyi Zha <summermontreal@gmail.com>2017-02-11 18:21:40 +0300
commit27cb6ab16a5d007d7594bef62ac5daf9bc3906f5 (patch)
tree03915eed48b08e65a322e64a91eb90a94bf63661
parenta9a9909e34257f70b85d0de979fd32d50e886c52 (diff)
Style fix
-rw-r--r--database/migrations/2017_02_04_025727_add_link_table_indexes.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/database/migrations/2017_02_04_025727_add_link_table_indexes.php b/database/migrations/2017_02_04_025727_add_link_table_indexes.php
index 4b6dc2a..e87d648 100644
--- a/database/migrations/2017_02_04_025727_add_link_table_indexes.php
+++ b/database/migrations/2017_02_04_025727_add_link_table_indexes.php
@@ -29,12 +29,10 @@ class AddLinkTableIndexes extends Migration
DB::table('links')
->where('id', $link->id)
->update([
- 'long_url_hash' => sprintf('%u', crc32($link->long_url))]
- );
+ 'long_url_hash' => sprintf('%u', crc32($link->long_url))
+ ]);
}
});
-
-
}
public function down()