| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 45 | public function getHTMLFragments($gridField) | ||
| 46 |     { | ||
| 47 |         Requirements::javascript('i-lateral/silverstripe-gridfield-addons:/javascript/GridFieldExpandableForm.js'); | ||
| 48 |         Requirements::css('i-lateral/silverstripe-gridfield-addons:/css/GridFieldExpandableForm.css'); | ||
| 49 | |||
| 50 |         $gridField->addExtraClass('expandable-forms'); | ||
| 51 |         $gridField->setAttribute('data-pseudo-form-url', $gridField->Link('expand')); | ||
| 52 | |||
| 53 | return array(); | ||
| 54 | } | ||
| 55 | } | ||
| 56 | 
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.