silverstripe-scienceninjas/sapphire — comment on commit b6803f6141f8372aaa3bd355efb18098fc83cc4f
File:  line 0
By sminnee:

Calling getActions twice is inefficient. Casting the result to array is probably easier.