We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | * |
| 70 | 70 | * @param array $columns - the database columns that contain the JSONs |
| 71 | 71 | * |
| 72 | - * @return Model |
|
| 72 | + * @return CrudTrait |
|
| 73 | 73 | */ |
| 74 | 74 | public function withFakes($columns = []) |
| 75 | 75 | { |
@@ -95,6 +95,12 @@ |
||
| 95 | 95 | public $type = 'view'; |
| 96 | 96 | public $content; |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param string $stack |
|
| 100 | + * @param string $name |
|
| 101 | + * @param string $type |
|
| 102 | + * @param string $content |
|
| 103 | + */ |
|
| 98 | 104 | public function __construct($stack, $name, $type, $content) |
| 99 | 105 | { |
| 100 | 106 | $this->stack = $stack; |
@@ -11,6 +11,9 @@ |
||
| 11 | 11 | return $this->autoFocusOnFirstField; |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param boolean $value |
|
| 16 | + */ |
|
| 14 | 17 | public function setAutoFocusOnFirstField($value) |
| 15 | 18 | { |
| 16 | 19 | return $this->autoFocusOnFirstField = (bool) $value; |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | 126 | * Determine if the current CRUD action is a list operation (using standard or ajax DataTables). |
| 127 | - * @return bool |
|
| 127 | + * @return boolean|null |
|
| 128 | 128 | */ |
| 129 | 129 | public function doingListOperation() |
| 130 | 130 | { |
@@ -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', |