Skip to content

Commit 822412b

Browse files
authored
Merge pull request #3670 from z-song/analysis-zd79YJ
Apply fixes from StyleCI
2 parents 284eeea + 4b59446 commit 822412b

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

src/Actions/Interactor/Form.php

-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ public function addModalHtml()
408408
public function getModalId()
409409
{
410410
if (!$this->modalId) {
411-
412411
if ($this->action instanceof RowAction) {
413412
$this->modalId = uniqid('row-action-modal-');
414413
} else {

src/Grid/Concerns/HasActions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ protected function appendActionsColumn()
121121
$this->addColumn(Grid\Column::ACTION_COLUMN_NAME, trans('admin.action'))
122122
->displayUsing($this->getActionClass(), [$this->actionsCallback]);
123123
}
124-
}
124+
}

src/Grid/Row.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class Row
4444
*/
4545
public function __construct($number, $data, $keyName)
4646
{
47-
$this->data = $data;
48-
$this->number = $number;
47+
$this->data = $data;
48+
$this->number = $number;
4949
$this->keyName = $keyName;
5050
}
5151

src/Traits/HasAssets.php

-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ public static function baseJs($js = null)
195195
public static function script($script = '', $deferred = false)
196196
{
197197
if (!empty($script)) {
198-
199198
if ($deferred) {
200199
return self::$deferredScript = array_merge(self::$deferredScript, (array) $script);
201200
}

src/Widgets/Navbar/Fullscreen.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Illuminate\Contracts\Support\Renderable;
77

88
/**
9-
* Class FullScreen
9+
* Class FullScreen.
1010
*
1111
* @see https://javascript.ruanyifeng.com/htmlapi/fullscreen.html
1212
*/

0 commit comments

Comments
 (0)