| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | function getGridFieldUserColumnsFor($gridfielddataclass) |
||
| 15 | { |
||
| 16 | if (!$this->owner->GridFieldUserColumns) { |
||
| 17 | return false; |
||
| 18 | } |
||
| 19 | $columns = unserialize($this->owner->GridFieldUserColumns); |
||
| 20 | return isset($columns[$gridfielddataclass]) ? $columns[$gridfielddataclass] : false; |
||
| 21 | } |
||
| 22 | |||
| 31 |
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.