File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/Maatwebsite/Excel/Readers Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -186,11 +186,6 @@ class LaravelExcelReader {
186186 */
187187 protected $ delimiter ;
188188
189- /**
190- * @var bool|string
191- */
192- protected $ lineEnding ;
193-
194189 /**
195190 * @var bool|string
196191 */
@@ -303,18 +298,6 @@ public function setEnclosure($enclosure)
303298 return $ this ;
304299 }
305300
306- /**
307- * Set csv line ending
308- * @param $lineEnding
309- * @return $this
310- */
311- public function setLineEnding ($ lineEnding )
312- {
313- $ this ->lineEnding = $ lineEnding ;
314- return $ this ;
315- }
316-
317-
318301 /**
319302 * set selected sheets
320303 * @param array $sheets
@@ -1092,10 +1075,6 @@ protected function _setReaderDefaults()
10921075 else
10931076 $ this ->reader ->setEnclosure ($ this ->enclosure );
10941077
1095- if (!$ this ->lineEnding )
1096- $ this ->reader ->setLineEnding (Config::get ('excel.csv.line_ending ' , "\r\n" ));
1097- else
1098- $ this ->reader ->setLineEnding ($ this ->lineEnding );
10991078 }
11001079
11011080 // Set default calculate
You can’t perform that action at this time.
0 commit comments