diff --git a/__plugins/polylang-pro-3.7.6/integrations/acf/Location_Language.php b/__plugins/polylang-pro-3.7.6/integrations/acf/Location_Language.php index 0ce1cdda7204bd32197353bd6f01ed4165a3d38d..c107114ae99fc7d4275f737e2cb1faad36e04c70 100644 --- a/__plugins/polylang-pro-3.7.6/integrations/acf/Location_Language.php +++ b/__plugins/polylang-pro-3.7.6/integrations/acf/Location_Language.php @@ -38,7 +38,8 @@ class Location_Language extends ACF_Location * @return bool */ public function match($rule, $screen, $field_group) // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - {$language = pll_current_language(); + { + $language = pll_current_language(); return empty($language) || $this->compare_to_rule($language, $rule); } @@ -53,7 +54,8 @@ class Location_Language extends ACF_Location * @return array */ public function get_values($rule) // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - {return array_combine(pll_languages_list(), pll_languages_list(['fields' => 'name'])); + { + return array_combine(pll_languages_list(), pll_languages_list(['fields' => 'name'])); } /** diff --git a/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Abstract_Collect_Ids.php b/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Abstract_Collect_Ids.php index cd162e2fb617e675dfe6e80022ab88b67cc9324c..d5fc567634bc284fd4f1fde6d4a419177aaeca21 100644 --- a/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Abstract_Collect_Ids.php +++ b/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Abstract_Collect_Ids.php @@ -33,10 +33,11 @@ abstract class Abstract_Collect_Ids extends Abstract_Strategy * @return mixed Untouched custom field value. */ protected function apply(Abstract_Object $object, $value, array $field, array $args = []) // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - {$this->linked_ids = array_merge( - $this->linked_ids, - $this->sanitize_ids($this->get_ids_from_field($value, $field)) - ); + { + $this->linked_ids = array_merge( + $this->linked_ids, + $this->sanitize_ids($this->get_ids_from_field($value, $field)) + ); return $value; } diff --git a/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Copy_All.php b/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Copy_All.php index 3661965b2c00ea79a20203f9ffd8b354d3c9b9b3..278c55969da946060da7cfcf024ca4c0bd5a6384 100644 --- a/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Copy_All.php +++ b/__plugins/polylang-pro-3.7.6/integrations/acf/Strategy/Copy_All.php @@ -21,6 +21,7 @@ class Copy_All extends Copy * @return true */ protected function can_execute_recursive(array $field): bool // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - {return true; + { + return true; } } diff --git a/__plugins/polylang-pro-3.7.6/services/metabox-button/metabox-button.php b/__plugins/polylang-pro-3.7.6/services/metabox-button/metabox-button.php index 3bfab596eba3a7529c1d0b76e6b4ff9422000945..95a1403b05b6f05b1fa7e7fdec0ae31dae2df8ad 100644 --- a/__plugins/polylang-pro-3.7.6/services/metabox-button/metabox-button.php +++ b/__plugins/polylang-pro-3.7.6/services/metabox-button/metabox-button.php @@ -96,7 +96,8 @@ abstract class PLL_Metabox_Button * @return bool Whether the new button state is accepted or not. */ protected function toggle_option($post_type, $active) // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - {return true; + { + return true; } /**