We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -7,14 +7,14 @@ |
||
7 | 7 | |
8 | 8 | <div class="form-group backpack-filter m-b-0"> |
9 | 9 | <?php |
10 | - $from = ''; |
|
11 | - $to = ''; |
|
12 | - if($filter->currentValue) { |
|
13 | - $range = (array)json_decode($filter->currentValue); |
|
14 | - $from = $range['from']; |
|
15 | - $to = $range['to']; |
|
16 | - } |
|
17 | - ?> |
|
10 | + $from = ''; |
|
11 | + $to = ''; |
|
12 | + if($filter->currentValue) { |
|
13 | + $range = (array)json_decode($filter->currentValue); |
|
14 | + $from = $range['from']; |
|
15 | + $to = $range['to']; |
|
16 | + } |
|
17 | + ?> |
|
18 | 18 | <div class="input-group"> |
19 | 19 | <input class="form-control pull-right from" |
20 | 20 | type="number" |
@@ -9,8 +9,8 @@ |
||
9 | 9 | <?php |
10 | 10 | $from = ''; |
11 | 11 | $to = ''; |
12 | - if($filter->currentValue) { |
|
13 | - $range = (array)json_decode($filter->currentValue); |
|
12 | + if ($filter->currentValue) { |
|
13 | + $range = (array) json_decode($filter->currentValue); |
|
14 | 14 | $from = $range['from']; |
15 | 15 | $to = $range['to']; |
16 | 16 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $id = $this->crud->getCurrentEntryId() ?? $id; |
48 | 48 | |
49 | 49 | $revisionId = \Request::input('revision_id', false); |
50 | - if (! $revisionId) { |
|
50 | + if (!$revisionId) { |
|
51 | 51 | abort(500, 'Can\'t restore revision without revision_id'); |
52 | 52 | } else { |
53 | 53 | $this->crud->restoreRevision($id, $revisionId); // do the update |
@@ -13,7 +13,7 @@ |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - return [ |
|
16 | + return [ |
|
17 | 17 | 'infoFiltered' => '(filtered from _MAX_ total entries)', |
18 | 18 | 'thousands' => ',', |
19 | 19 | 'admin' => 'المشرف', |
@@ -25,9 +25,9 @@ |
||
25 | 25 | </thead> |
26 | 26 | <?php |
27 | 27 | |
28 | -if (! empty($_POST)) { |
|
28 | +if (!empty($_POST)) { |
|
29 | 29 | foreach ($_POST as $key => $value) { |
30 | - if ((! is_string($value) && ! is_numeric($value)) || ! is_string($key)) { |
|
30 | + if ((!is_string($value) && !is_numeric($value)) || !is_string($key)) { |
|
31 | 31 | continue; |
32 | 32 | } |
33 | 33 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | <div @include('crud::inc.field_wrapper_attributes') > |
7 | 7 | <label>{!! $field['label'] !!}</label> |
8 | 8 | @include('crud::inc.field_translatable_icon') |
9 | - <?php $entity_model = $crud->getRelationModel($field['entity'], - 1); ?> |
|
9 | + <?php $entity_model = $crud->getRelationModel($field['entity'], - 1); ?> |
|
10 | 10 | <select |
11 | 11 | name="{{ $field['name'] }}" |
12 | 12 | style="width: 100%" |