Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion DataTable/Table/AbstractTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ abstract class AbstractTable
*/
protected $layout;

public $formatter;

public $tableId;

/**
* @param FormFactory $formFactory
* @param Router $router
Expand Down Expand Up @@ -130,7 +134,7 @@ abstract public function getUnfilteredCount();
*/
abstract public function getFilteredCount();

private final function setDefaultOptions(OptionsResolver $resolver)
private function setDefaultOptions(OptionsResolver $resolver)
{
$resolver->setDefaults([
'layout' => $this->layout,
Expand Down
2 changes: 1 addition & 1 deletion Twig/DataTableExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct(TwigRenderer $renderer)
/**
* {@inheritdoc}
*/
public function getFunctions()
public function getFunctions(): array
{
return [
new TwigFunction('render_table', [$this, 'renderTable'], [
Expand Down