diff options
author | Chaoyi Zha <summermontreal@gmail.com> | 2017-02-11 18:18:49 +0300 |
---|---|---|
committer | Chaoyi Zha <summermontreal@gmail.com> | 2017-02-11 18:21:40 +0300 |
commit | 27cb6ab16a5d007d7594bef62ac5daf9bc3906f5 (patch) | |
tree | 03915eed48b08e65a322e64a91eb90a94bf63661 | |
parent | a9a9909e34257f70b85d0de979fd32d50e886c52 (diff) |
Style fix
-rw-r--r-- | database/migrations/2017_02_04_025727_add_link_table_indexes.php | 6 |
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() |