Skip to content

Commit

Permalink
Fix missing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasReker committed Dec 12, 2018
1 parent ef49f27 commit 98554c9
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 66 deletions.
6 changes: 3 additions & 3 deletions classes/tree/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ public function render($data = null)
$headerTemplate->assign($this->getAttributes())
->assign(
array(
'title' => $this->getTitle(),
'toolbar' => $this->useToolbar() ? $this->renderToolbar() : null,
)
'title' => $this->getTitle(),
'toolbar' => $this->useToolbar() ? $this->renderToolbar() : null,
)
);
$template->assign('header', $headerTemplate->fetch());
}
Expand Down
8 changes: 4 additions & 4 deletions controllers/admin/AdminCmsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,10 @@ public function getPreviewUrl(CMS $cms)
if (!$cms->active) {
$params = http_build_query(
array(
'adtoken' => Tools::getAdminTokenLite('AdminCmsContent'),
'ad' => basename(_PS_ADMIN_DIR_),
'id_employee' => (int) $this->context->employee->id,
)
'adtoken' => Tools::getAdminTokenLite('AdminCmsContent'),
'ad' => basename(_PS_ADMIN_DIR_),
'id_employee' => (int) $this->context->employee->id,
)
);
$preview_url .= (strpos($preview_url, '?') === false ? '?' : '&') . $params;
}
Expand Down
24 changes: 12 additions & 12 deletions controllers/admin/AdminOrdersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1915,30 +1915,30 @@ public function renderView()
'HOOK_CONTENT_ORDER' => Hook::exec(
'displayAdminOrderContentOrder',
array(
'order' => $order,
'products' => $products,
'customer' => $customer, )
'order' => $order,
'products' => $products,
'customer' => $customer, )
),
'HOOK_CONTENT_SHIP' => Hook::exec(
'displayAdminOrderContentShip',
array(
'order' => $order,
'products' => $products,
'customer' => $customer, )
'order' => $order,
'products' => $products,
'customer' => $customer, )
),
'HOOK_TAB_ORDER' => Hook::exec(
'displayAdminOrderTabOrder',
array(
'order' => $order,
'products' => $products,
'customer' => $customer, )
'order' => $order,
'products' => $products,
'customer' => $customer, )
),
'HOOK_TAB_SHIP' => Hook::exec(
'displayAdminOrderTabShip',
array(
'order' => $order,
'products' => $products,
'customer' => $customer, )
'order' => $order,
'products' => $products,
'customer' => $customer, )
),
);

Expand Down
14 changes: 7 additions & 7 deletions controllers/admin/AdminStatsTabController.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,17 @@ public function ajaxProcessSetDashboardDateRange()
if (is_array($this->errors) && count($this->errors)) {
die(json_encode(
array(
'has_errors' => true,
'errors' => array($this->errors),
'date_from' => $this->context->employee->stats_date_from,
'date_to' => $this->context->employee->stats_date_to, )
'has_errors' => true,
'errors' => array($this->errors),
'date_from' => $this->context->employee->stats_date_from,
'date_to' => $this->context->employee->stats_date_to, )
));
} else {
die(json_encode(
array(
'has_errors' => false,
'date_from' => $this->context->employee->stats_date_from,
'date_to' => $this->context->employee->stats_date_to, )
'has_errors' => false,
'date_from' => $this->context->employee->stats_date_from,
'date_to' => $this->context->employee->stats_date_to, )
));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'canonical_url_redirection',
ChoiceType::class,
[
'choices' => $this->canonicalUrlChoices,
'translation_domain' => false,
]
'choices' => $this->canonicalUrlChoices,
'translation_domain' => false,
]
)
;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,10 +441,10 @@ public function ajaxProcessGetCountriesOptions()
$tpl = $this->createTemplate('specific_prices_shop_update.tpl');
$tpl->assign(
array(
'option_list' => $res,
'key_id' => 'id_country',
'key_value' => 'name',
)
'option_list' => $res,
'key_id' => 'id_country',
'key_value' => 'name',
)
);
$this->content = $tpl->fetch();
}
Expand All @@ -461,10 +461,10 @@ public function ajaxProcessGetCurrenciesOptions()
$tpl = $this->createTemplate('specific_prices_shop_update.tpl');
$tpl->assign(
array(
'option_list' => $res,
'key_id' => 'id_currency',
'key_value' => 'name',
)
'option_list' => $res,
'key_id' => 'id_currency',
'key_value' => 'name',
)
);
$this->content = $tpl->fetch();
}
Expand All @@ -481,10 +481,10 @@ public function ajaxProcessGetGroupsOptions()
$tpl = $this->createTemplate('specific_prices_shop_update.tpl');
$tpl->assign(
array(
'option_list' => $res,
'key_id' => 'id_group',
'key_value' => 'name',
)
'option_list' => $res,
'key_id' => 'id_group',
'key_value' => 'name',
)
);
$this->content = $tpl->fetch();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public function deleteProduct($id_product, $id_product_attribute = null, $id_cus
$result = Hook::exec(
'ppbsDeleteCartProduct',
array(
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'id_customization' => $id_customization,
'id_address_delivery' => $id_address_delivery,
),
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'id_customization' => $id_customization,
'id_address_delivery' => $id_address_delivery,
),
null,
false
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ public function deleteProduct($id_product, $id_product_attribute = null, $id_cus
$result = Hook::exec(
'ppbsDeleteCartProduct',
array(
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'id_customization' => $id_customization,
'id_address_delivery' => $id_address_delivery,
),
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'id_customization' => $id_customization,
'id_address_delivery' => $id_address_delivery,
),
null,
false
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ public function ajaxProcessGetCountriesOptions()
$tpl = $this->createTemplate('specific_prices_shop_update.tpl');
$tpl->assign(
array(
'option_list' => $res,
'key_id' => 'id_country',
'key_value' => 'name',
)
'option_list' => $res,
'key_id' => 'id_country',
'key_value' => 'name',
)
);

$this->content = $tpl->fetch();
Expand All @@ -200,10 +200,10 @@ public function ajaxProcessGetCurrenciesOptions()
$tpl = $this->createTemplate('specific_prices_shop_update.tpl');
$tpl->assign(
array(
'option_list' => $res,
'key_id' => 'id_currency',
'key_value' => 'name',
)
'option_list' => $res,
'key_id' => 'id_currency',
'key_value' => 'name',
)
);

$this->content = $tpl->fetch();
Expand All @@ -218,10 +218,10 @@ public function ajaxProcessGetGroupsOptions()
$tpl = $this->createTemplate('specific_prices_shop_update.tpl');
$tpl->assign(
array(
'option_list' => $res,
'key_id' => 'id_group',
'key_value' => 'name',
)
'option_list' => $res,
'key_id' => 'id_group',
'key_value' => 'name',
)
);

$this->content = $tpl->fetch();
Expand Down
6 changes: 3 additions & 3 deletions tests-legacy/resources/modules/gamification/gamification.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function processAdviceAsso($id_advice, $display_conditions, $hide_conditi
Db::getInstance()->insert(
'condition_advice',
array(
'id_condition' => (int) $cond_ids[$cond], 'id_advice' => (int) $id_advice, 'display' => 1, )
'id_condition' => (int) $cond_ids[$cond], 'id_advice' => (int) $id_advice, 'display' => 1, )
);
}
}
Expand All @@ -513,7 +513,7 @@ public function processAdviceAsso($id_advice, $display_conditions, $hide_conditi
Db::getInstance()->insert(
'condition_advice',
array(
'id_condition' => (int) $cond_ids[$cond], 'id_advice' => (int) $id_advice, 'display' => 0, )
'id_condition' => (int) $cond_ids[$cond], 'id_advice' => (int) $id_advice, 'display' => 0, )
);
}
}
Expand All @@ -524,7 +524,7 @@ public function processAdviceAsso($id_advice, $display_conditions, $hide_conditi
Db::getInstance()->insert(
'tab_advice',
array(
'id_tab' => (int)Tab::getIdFromClassName($tab), 'id_advice' => (int) $id_advice, )
'id_tab' => (int)Tab::getIdFromClassName($tab), 'id_advice' => (int) $id_advice, )
);
}
}
Expand Down

0 comments on commit 98554c9

Please sign in to comment.