Skip to content

Commit 061ae37

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent f5138fd commit 061ae37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/Library/CrudPanel/Traits/Views.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public static function getFirstFieldView($viewPath, $viewNamespace = false)
311311

312312
// if no view exists, in any of the directories above... no bueno
313313
if (! backpack_pro()) {
314-
throw new BackpackProRequiredException('Cannot find the field view: '.$viewPath.'. Please check for typos.' . (backpack_pro() ? '' : ' If you are trying to use a PRO field, please first purchase and install the backpack/pro addon from backpackforlaravel.com'), 1);
314+
throw new BackpackProRequiredException('Cannot find the field view: '.$viewPath.'. Please check for typos.'.(backpack_pro() ? '' : ' If you are trying to use a PRO field, please first purchase and install the backpack/pro addon from backpackforlaravel.com'), 1);
315315
}
316316
abort(500, "Cannot find '{$viewPath}' field view in any of the regular locations.");
317317
}

src/app/Library/Widget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function getFinalViewPath()
146146
}
147147
// if no view exists, in any of the directories above... no bueno
148148
if (! backpack_pro()) {
149-
throw new BackpackProRequiredException('Cannot find the widget view: '.$viewPath.'. Please check for typos.' . (backpack_pro() ? '' : ' If you are trying to use a PRO widget, please first purchase and install the backpack/pro addon from backpackforlaravel.com'), 1);
149+
throw new BackpackProRequiredException('Cannot find the widget view: '.$viewPath.'. Please check for typos.'.(backpack_pro() ? '' : ' If you are trying to use a PRO widget, please first purchase and install the backpack/pro addon from backpackforlaravel.com'), 1);
150150
}
151151
abort(500, 'Cannot find the view for «'.$this->type.'» widget type. Please check for typos.');
152152
}

0 commit comments

Comments
 (0)