|
@@ -48,7 +48,7 @@ |
|
|
block discarded – undo |
|
48
|
48
|
public function createGrid(string $gridType, $dataSource, array $params = []): DataGridInterface |
|
49
|
49
|
{ |
|
50
|
50
|
if (!is_subclass_of($gridType, AbstractGridType::class)) { |
|
51
|
|
- throw new InvalidArgumentException('Expected subclass of ' . AbstractGridType::class); |
|
|
51
|
+ throw new InvalidArgumentException('Expected subclass of '.AbstractGridType::class); |
|
52
|
52
|
} |
|
53
|
53
|
$provider = DataProvider::create($dataSource, $this->container->getDoctrine()); |
|
54
|
54
|
|
Please login to merge, or discard this patch.