We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -1,8 +1,8 @@ |
||
1 | 1 | {{-- single relationships (1-1, 1-n) --}} |
2 | 2 | <td> |
3 | 3 | <?php |
4 | - if ($entry->{$column['entity']}) { |
|
5 | - echo $entry->{$column['entity']}->{$column['attribute']}; |
|
6 | - } |
|
7 | - ?> |
|
4 | + if ($entry->{$column['entity']}) { |
|
5 | + echo $entry->{$column['entity']}->{$column['attribute']}; |
|
6 | + } |
|
7 | + ?> |
|
8 | 8 | </td> |
@@ -23,13 +23,13 @@ |
||
23 | 23 | } |
24 | 24 | } |
25 | 25 | |
26 | - //for update form, get initial state of the entity |
|
27 | - if( isset($id) && $id ){ |
|
26 | + //for update form, get initial state of the entity |
|
27 | + if( isset($id) && $id ){ |
|
28 | 28 | |
29 | 29 | //get entity with relations for primary dependency |
30 | 30 | $entity_dependencies = $entity_model->with($primary_dependency['entity']) |
31 | - ->with($primary_dependency['entity'].'.'.$primary_dependency['entity_secondary']) |
|
32 | - ->find($id); |
|
31 | + ->with($primary_dependency['entity'].'.'.$primary_dependency['entity_secondary']) |
|
32 | + ->find($id); |
|
33 | 33 | |
34 | 34 | $secondaries_from_primary = []; |
35 | 35 |
@@ -65,7 +65,7 @@ |
||
65 | 65 | 'delete_confirmation_not_deleted_title' => 'Não apagado', |
66 | 66 | 'delete_confirmation_not_deleted_message' => 'Está tudo bem!. O item não foi apagado.', |
67 | 67 | |
68 | - // DataTables translation |
|
68 | + // DataTables translation |
|
69 | 69 | 'emptyTable' => 'Sem dados disponíveis na tabela', |
70 | 70 | 'info' => 'A mostrar _START_ a _END_ de _TOTAL_ registos', |
71 | 71 | 'infoEmpty' => 'A mostrar 0 a 0 de 0 registos', |
@@ -66,20 +66,20 @@ |
||
66 | 66 | |
67 | 67 | // if a closure was passed as "filter_logic" |
68 | 68 | if ($this->doingListOperation()) { |
69 | - if ( $this->request->has( $options['name'] ) ) { |
|
70 | - if ( is_callable( $filter_logic ) ) { |
|
71 | - // apply it |
|
72 | - $filter_logic( $this->request->input( $options['name'] ) ); |
|
73 | - } else { |
|
74 | - $this->addDefaultFilterLogic( $filter->name, $filter_logic ); |
|
75 | - } |
|
76 | - } else { |
|
77 | - //if the filter is not active, but fallback logic was supplied |
|
78 | - if ( is_callable( $fallback_logic ) ) { |
|
79 | - // apply the fallback logic |
|
80 | - $fallback_logic(); |
|
81 | - } |
|
82 | - } |
|
69 | + if ( $this->request->has( $options['name'] ) ) { |
|
70 | + if ( is_callable( $filter_logic ) ) { |
|
71 | + // apply it |
|
72 | + $filter_logic( $this->request->input( $options['name'] ) ); |
|
73 | + } else { |
|
74 | + $this->addDefaultFilterLogic( $filter->name, $filter_logic ); |
|
75 | + } |
|
76 | + } else { |
|
77 | + //if the filter is not active, but fallback logic was supplied |
|
78 | + if ( is_callable( $fallback_logic ) ) { |
|
79 | + // apply the fallback logic |
|
80 | + $fallback_logic(); |
|
81 | + } |
|
82 | + } |
|
83 | 83 | } |
84 | 84 | } |
85 | 85 |