@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | $tableName = config('links.tables.groups'); |
17 | 17 | |
18 | - Schema::create($tableName, function (Blueprint $table) { |
|
18 | + Schema::create($tableName, function(Blueprint $table) { |
|
19 | 19 | $table->increments('id'); |
20 | 20 | $table->dateTime('expiry')->nullable(); |
21 | 21 | $table->integer('click_limit')->nullable(); |
@@ -50,7 +50,7 @@ |
||
50 | 50 | 'expiry' => $expiry |
51 | 51 | ]); |
52 | 52 | |
53 | - if($this->group !== null) { |
|
53 | + if ($this->group !== null) { |
|
54 | 54 | $this->groupRepository->pushLink($this->group, $link); |
55 | 55 | } |
56 | 56 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | |
34 | 34 | $this->urlManipulator->setUrl($request->getUri()); |
35 | 35 | $this->urlManipulator->removeQuery(config('links.query_key')); |
36 | - if($link->url !== $this->urlManipulator->getUrl()){ |
|
36 | + if ($link->url !== $this->urlManipulator->getUrl()) { |
|
37 | 37 | throw new LinkNotFoundException; |
38 | 38 | } |
39 | 39 | return $next($request); |