From 02e176197ac671887b161aabc258217dfdada96a Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Mon, 5 Feb 2018 21:48:47 +0900 Subject: [PATCH] Code style --- src/PhpSpreadsheet/Reader/Csv.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/PhpSpreadsheet/Reader/Csv.php b/src/PhpSpreadsheet/Reader/Csv.php index 76bac01a..6adb6ee6 100644 --- a/src/PhpSpreadsheet/Reader/Csv.php +++ b/src/PhpSpreadsheet/Reader/Csv.php @@ -195,11 +195,11 @@ class Csv extends BaseReader } $meanSquareDeviations[$delimiter] = array_reduce( - $series, - function ($sum, $value) use ($median) { - return $sum + pow($value - $median, 2); - } - ) / count($series); + $series, + function ($sum, $value) use ($median) { + return $sum + pow($value - $median, 2); + } + ) / count($series); } // ... and pick the delimiter with the smallest mean square deviation (in case of ties, the order in potentialDelimiters is respected)