Skip to content

Commit 55f8dcd

Browse files
committed
StyleCI
1 parent 3383c27 commit 55f8dcd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Button.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace NovaButton;
44

5-
use Laravel\Nova\Fields\Field;
6-
use Laravel\Nova\Resource;
75
use Illuminate\Support\Arr;
86
use Illuminate\Support\Str;
7+
use Laravel\Nova\Fields\Field;
8+
use Laravel\Nova\Resource;
99

1010
class Button extends Field
1111
{
@@ -30,7 +30,7 @@ class Button extends Field
3030
public $type = null;
3131

3232
public $label = null;
33-
33+
3434
public $title = null;
3535

3636
public $indexName = null;
@@ -208,12 +208,11 @@ public function label($label)
208208

209209
return $this;
210210
}
211-
212-
211+
213212
public function title($title)
214213
{
215214
$this->title = $title;
216-
215+
217216
return $this;
218217
}
219218

@@ -287,9 +286,10 @@ public function route($name, $params)
287286
}
288287

289288
/**
290-
* Add params to route
289+
* Add params to route.
290+
*
291+
* @param array $params
291292
*
292-
* @param array $params
293293
* @return $this
294294
*/
295295
public function withParams(array $params)

src/Providers/FieldServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class FieldServiceProvider extends ServiceProvider
1717
public function boot()
1818
{
1919
$this->publishes([
20-
__DIR__.'/../../config/nova-button.php' => config_path('nova-button.php'),
20+
__DIR__.'/../../config/nova-button.php' => config_path('nova-button.php'),
2121
], 'nova-button');
2222

2323
Nova::serving(function (ServingNova $event) {

0 commit comments

Comments
 (0)