From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- app/Core/Csv.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Core/Csv.php') diff --git a/app/Core/Csv.php b/app/Core/Csv.php index 37f51b27..7c6a4620 100644 --- a/app/Core/Csv.php +++ b/app/Core/Csv.php @@ -93,7 +93,8 @@ class Csv { if (! empty($value)) { $value = trim(strtolower($value)); - return $value === '1' || $value{0} === 't' ? 1 : 0; + return $value === '1' || $value{0} + === 't' ? 1 : 0; } return 0; @@ -187,8 +188,7 @@ class Csv foreach ($this->columns as $sql_name => $csv_name) { if (isset($row[$index])) { $line[$sql_name] = $row[$index]; - } - else { + } else { $line[$sql_name] = ''; } -- cgit v1.2.3