Skip to content

Commit

Permalink
StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
dillingham committed Jan 12, 2020
1 parent 3383c27 commit 55f8dcd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace NovaButton;

use Laravel\Nova\Fields\Field;
use Laravel\Nova\Resource;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Laravel\Nova\Fields\Field;
use Laravel\Nova\Resource;

class Button extends Field
{
Expand All @@ -30,7 +30,7 @@ class Button extends Field
public $type = null;

public $label = null;

public $title = null;

public $indexName = null;
Expand Down Expand Up @@ -208,12 +208,11 @@ public function label($label)

return $this;
}



public function title($title)
{
$this->title = $title;

return $this;
}

Expand Down Expand Up @@ -287,9 +286,10 @@ public function route($name, $params)
}

/**
* Add params to route
* Add params to route.
*
* @param array $params
*
* @param array $params
* @return $this
*/
public function withParams(array $params)
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/FieldServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class FieldServiceProvider extends ServiceProvider
public function boot()
{
$this->publishes([
__DIR__.'/../../config/nova-button.php' => config_path('nova-button.php'),
__DIR__.'/../../config/nova-button.php' => config_path('nova-button.php'),
], 'nova-button');

Nova::serving(function (ServingNova $event) {
Expand Down

0 comments on commit 55f8dcd

Please sign in to comment.