Compare commits

..

No commits in common. "master" and "0.4.7" have entirely different histories.

View File

@ -1,7 +1,6 @@
<?php <?php
namespace Itguild\EloquentTable; namespace Itguild\EloquentTable;
use Exception; use Exception;
use Itguild\Tables\ListJsonTable; use Itguild\Tables\ListJsonTable;
use JetBrains\PhpStorm\NoReturn; use JetBrains\PhpStorm\NoReturn;
@ -20,9 +19,4 @@ class ListEloquentTable extends ListJsonTable
$this->dataProvider = $dataProvider; $this->dataProvider = $dataProvider;
parent::__construct($this->dataProvider->getJson()); parent::__construct($this->dataProvider->getJson());
} }
public function getCollection()
{
return $this->dataProvider->getCollection();
}
} }