Skip to content

Commit 3f4b6fb

Browse files
committed
PHP-Fixer passed, PHP-Stan checks passed
1 parent e87664a commit 3f4b6fb

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

ajax/container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
$item,
6767
$type,
6868
$subtype,
69-
$field_options
69+
$field_options,
7070
);
7171
echo "</div>";
7272
} else {

inc/containerdisplaycondition.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public function checkCondition($item)
428428
$value = $this->fields['value'];
429429
$condition = $this->fields['condition'];
430430

431-
$searchOption = Search::getOptions(get_class($item))[$this->fields['search_option']];
431+
$searchOption = Search::getOptions(get_class($item))[$this->fields['search_option']];
432432

433433
$fields = array_merge($item->fields, $item->input);
434434

inc/field.class.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -887,10 +887,10 @@ public static function showForTab($params)
887887
{
888888
$item = $params['item'];
889889

890-
if($item->fields['type'] == "") {
891-
$item->fields['type'] = $params['options']['type'];
892-
}
893-
if($item->fields['itilcategories_id'] == "") {
890+
if ($item->fields['type'] == "") {
891+
$item->fields['type'] = $params['options']['type'];
892+
}
893+
if ($item->fields['itilcategories_id'] == "") {
894894
$item->fields['itilcategories_id'] = $params['options']['itilcategories_id'];
895895
}
896896

@@ -975,8 +975,7 @@ public static function showForTab($params)
975975
}
976976
$display_condition = new PluginFieldsContainerDisplayCondition();
977977

978-
if ($display_condition->computeDisplayContainer($item, $c_id))
979-
{
978+
if ($display_condition->computeDisplayContainer($item, $c_id)) {
980979
self::showDomContainer(
981980
$c_id,
982981
$item,

0 commit comments

Comments
 (0)