Skip to content

Commit 677018b

Browse files
authored
Merge pull request #9 from vedmant/analysis-q5JOWB
Apply fixes from StyleCI
2 parents 21126fc + e48e740 commit 677018b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Shortcode.php

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

33
namespace Vedmant\LaravelShortcodes;
44

5-
use Carbon\Carbon;
65
use Throwable;
6+
use Carbon\Carbon;
77
use Illuminate\Support\Collection;
88
use Illuminate\Support\Facades\Log;
99
use Illuminate\Support\Traits\Macroable;
@@ -154,7 +154,7 @@ protected function view($name, $data = [])
154154
}
155155

156156
/**
157-
* Cast attributes
157+
* Cast attributes.
158158
*
159159
* @param $atts
160160
* @return array

tests/Resources/CastsShortcode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ class CastsShortcode extends Shortcode
1616
*/
1717
public $attributes = [
1818
'string' => [
19-
'default' => ''
19+
'default' => '',
2020
],
2121
'int' => [
22-
'default' => ''
22+
'default' => '',
2323
],
2424
'integer' => [
2525
'default' => '',

tests/Unit/ShortcodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Vedmant\LaravelShortcodes\Tests\Unit;
44

55
use Carbon\Carbon;
6-
use Vedmant\LaravelShortcodes\Tests\Resources\CastsShortcode;
76
use Vedmant\LaravelShortcodes\Tests\TestCase;
7+
use Vedmant\LaravelShortcodes\Tests\Resources\CastsShortcode;
88

99
class ShortcodeTest extends TestCase
1010
{

0 commit comments

Comments
 (0)