[Changed] code cleanup

php cs fixer
This commit is contained in:
2024-11-25 18:48:39 +01:00
parent 2cd0652c31
commit c27834536d
47 changed files with 273 additions and 239 deletions

View File

@ -8,9 +8,9 @@ trait articleTreeStructure
* @param int $indexOfArray
* @return string
*/
public function getSplitCategoryArray(int $indexOfArray = -1, bool $bShallTakeStd = false) :string
public function getSplitCategoryArray(int $indexOfArray = -1, bool $bShallTakeStd = false): string
{
if ($bShallTakeStd){
if ($bShallTakeStd) {
$splitCatArray =
array_values(
array_filter(
@ -26,9 +26,9 @@ trait articleTreeStructure
)
);
if (($indexOfArray >= 0) and (false === empty($splitCatArray[$indexOfArray]))){
if (($indexOfArray >= 0) and (false === empty($splitCatArray[$indexOfArray]))) {
return $splitCatArray[$indexOfArray];
}else{
} else {
return "";
}
}
@ -41,4 +41,4 @@ trait articleTreeStructure
)
);
}
}
}