@@ -334,7 +334,7 @@ |
||
| 334 | 334 | } |
| 335 | 335 | |
| 336 | 336 | /** |
| 337 | - * @return null|Grid |
|
| 337 | + * @return Compound|null |
|
| 338 | 338 | */ |
| 339 | 339 | protected function getGrid() |
| 340 | 340 | { |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | $tr->setAttribute('data-row-with-details', 1); |
| 70 | 70 | $this->getGrid()->children() |
| 71 | 71 | ->add($this->jquery, 1) |
| 72 | - ->add($this->getScript());; |
|
| 72 | + ->add($this->getScript()); ; |
|
| 73 | 73 | // fix zebra styled tables |
| 74 | 74 | $this->parent()->addChild(new DataView('<tr style="display: none"></tr>')); |
| 75 | 75 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | public function __construct(callable $urlGenerator, ResourceManager $resourceManager = null) |
| 14 | 14 | { |
| 15 | - parent::__construct(new DataView(null, function ($url) { |
|
| 15 | + parent::__construct(new DataView(null, function($url) { |
|
| 16 | 16 | return "<div data-details-container='1' data-details-url='$url'></div>"; |
| 17 | 17 | }), $resourceManager); |
| 18 | 18 | $this->setUrlGenerator($urlGenerator); |