Update code to match changes to `Illuminate\Foundation\Console\OptimizeCommand`

Signed-off-by: crynobone <crynobone@gmail.com>