Skip to content

Commit 9f3c960

Browse files
Merge pull request #31 from imanghafoori1/analysis-z4oEK1
Apply fixes from StyleCI
2 parents 6adfdc6 + a7ec49f commit 9f3c960

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/WidgetGenerator.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private function createView()
6060
$this->files->put($path, $this->getViewStub());
6161

6262
$this->info(' - '.$this->qualifyClass($this->getNameInput()).'View.blade.php - was created. (^_^)');
63-
63+
6464
$this->printStarUs();
6565
}
6666

@@ -148,11 +148,11 @@ private function getViewStub()
148148
{
149149
return 'Note that you can reference partials within "App\Widgets" folder like this: @include("Widgets::somePartial") ';
150150
}
151-
151+
152152
private function printStarUs()
153153
{
154-
if (mt_rand (1, 6) !== 4) {
155-
return null;
154+
if (mt_rand(1, 6) !== 4) {
155+
return;
156156
}
157157
$this->info('************************ Star It ************************');
158158
$this->info('Dear developer, if you find Laravel-Widgetize useful for you');
@@ -162,5 +162,4 @@ private function printStarUs()
162162
$this->info('Thanks. lol ');
163163
$this->info('********************************************************');
164164
}
165-
166165
}

0 commit comments

Comments
 (0)