Skip to content

Commit

Permalink
Merge pull request #9 from vedmant/analysis-q5JOWB
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
vedmant authored Jul 29, 2019
2 parents 21126fc + e48e740 commit 677018b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Vedmant\LaravelShortcodes;

use Carbon\Carbon;
use Throwable;
use Carbon\Carbon;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Traits\Macroable;
Expand Down Expand Up @@ -154,7 +154,7 @@ protected function view($name, $data = [])
}

/**
* Cast attributes
* Cast attributes.
*
* @param $atts
* @return array
Expand Down
4 changes: 2 additions & 2 deletions tests/Resources/CastsShortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class CastsShortcode extends Shortcode
*/
public $attributes = [
'string' => [
'default' => ''
'default' => '',
],
'int' => [
'default' => ''
'default' => '',
],
'integer' => [
'default' => '',
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ShortcodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Vedmant\LaravelShortcodes\Tests\Unit;

use Carbon\Carbon;
use Vedmant\LaravelShortcodes\Tests\Resources\CastsShortcode;
use Vedmant\LaravelShortcodes\Tests\TestCase;
use Vedmant\LaravelShortcodes\Tests\Resources\CastsShortcode;

class ShortcodeTest extends TestCase
{
Expand Down

0 comments on commit 677018b

Please sign in to comment.