Fixed CS, phpDoc and missing initialized var.