Skip to content

Commit

Permalink
Merge pull request #146 from FriendsOfCake/phpcs
Browse files Browse the repository at this point in the history
Remove closing php tags
  • Loading branch information
josegonzalez authored Aug 30, 2016
2 parents 0763675 + d96ec7f commit b3a7652
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/Template/Cell/TablesList/display.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ foreach ($tables as $table => $config) {
]); ?></li>
<?php
}
?>
4 changes: 2 additions & 2 deletions src/Template/Element/action-groups.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ foreach ($groups as $key => $group) {
<?php endforeach; ?>
</ul>
</div>
<?php endforeach; ?>

<?php
endforeach;
1 change: 0 additions & 1 deletion src/Template/Element/actions.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ unset($actionGroups['primary']);

// render grouped actions
echo $this->element('action-groups', ['groups' => $actionGroups, 'links' => $links]);
?>
1 change: 0 additions & 1 deletion src/Template/Element/index/bulk_actions/form_end.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ echo $this->Form->input('action', [
'class' => 'no-selectize'
]);
echo $this->Form->end();
?>
1 change: 0 additions & 1 deletion src/Template/Element/index/bulk_actions/form_start.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ if (empty($bulkActions)) {
echo $this->Form->create(null, [
'class' => 'bulk-actions form-horizontal'
]);
?>
3 changes: 2 additions & 1 deletion src/Template/Element/view/related/has_many.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ foreach ($relations as $alias => $details):
</ul>
</div>
</div>
<?php endforeach; ?>
<?php
endforeach;
1 change: 1 addition & 0 deletions src/View/Helper/CrudViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ public function relation($field)
}

$entity = $data->$entityName;

return [
'alias' => $alias,
'output' => $this->Html->link($entity->{$details['displayField']}, [
Expand Down

0 comments on commit b3a7652

Please sign in to comment.