diff --git a/panelizer.module b/panelizer.module
index 532316f..8ec03ed 100644
--- a/panelizer.module
+++ b/panelizer.module
@@ -106,7 +106,7 @@ function panelizer_form_alter(&$form, &$form_state, $form_id) {
     $handler->hook_form_alter($form, $form_state, $form_id);
 
     // Support default content and layout settings
-    foreach($handler->plugin['bundles'] as $bundle_name => $bundle) {
+    foreach ($handler->plugin['bundles'] as $bundle_name => $bundle) {
       if ($form_id == 'panels_common_settings' && $form_state['build_info']['args'][0] == 'panelizer_' . $handler->entity_type . ':' . $bundle_name) {
 
         // Provide settings for the default content and layout options
@@ -136,7 +136,7 @@ function panelizer_form_alter(&$form, &$form_state, $form_id) {
         if (variable_get($form_state['build_info']['args'][0] . '_allowed_types_default', FALSE)) {
           $content_types = ctools_content_get_all_types();
           $content_types['other'] = array('title' => t('Other'), 'weight' => 10);
-          foreach($content_types as $content_type => $content_type_value) {
+          foreach ($content_types as $content_type => $content_type_value) {
             if (!empty($form['content_types'][$content_type]['options'])) {
               $form['content_types'][$content_type]['options']['#disabled'] = TRUE;
             }
