Completed
Push — master ( fc5bca...29537e )
by ARCANEDEV
16s
created
src/Importers/AbstractImporter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param  array  $options
53 53
      */
54
-    public function __construct(array $options = [])
54
+    public function __construct(array $options = [ ])
55 55
     {
56 56
         $this->setParser(new DefaultParser);
57 57
         $this->setOptions($options);
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,9 @@
 block discarded – undo
193 193
         $rows = new Collection;
194 194
 
195 195
         foreach ($this->reader->getSheetIterator() as $index => $sheet) {
196
-            if ($index !== $this->sheet) continue;
196
+            if ($index !== $this->sheet) {
197
+             continue;
198
+            }
197 199
 
198 200
             foreach ($sheet->getRowIterator() as $row) {
199 201
                 $rows->push($this->parser->transform($row));
Please login to merge, or discard this patch.
src/Traits/WithOptions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      | -----------------------------------------------------------------
16 16
      */
17 17
 
18
-    protected $options = [];
18
+    protected $options = [ ];
19 19
 
20 20
     /* -----------------------------------------------------------------
21 21
      |  Main Methods
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function setOption($key, $value)
71 71
     {
72
-        $this->options[$key] = $value;
72
+        $this->options[ $key ] = $value;
73 73
 
74 74
         return $this;
75 75
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      *
82 82
      * @return self
83 83
      */
84
-    public function resetOptions(array $options = [])
84
+    public function resetOptions(array $options = [ ])
85 85
     {
86 86
         $this->options = $options;
87 87
 
Please login to merge, or discard this patch.
src/Exporters/AbstractExporter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
 
29 29
     /** @var array */
30
-    protected $data = [];
30
+    protected $data = [ ];
31 31
 
32 32
     /** @var string */
33 33
     protected $type;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @param  array  $options
50 50
      */
51
-    public function __construct(array $options = [])
51
+    public function __construct(array $options = [ ])
52 52
     {
53 53
         $this->setSerializer(new DefaultSerializer);
54 54
         $this->setOptions($options);
Please login to merge, or discard this patch.