@@ -61,6 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * Tirardaqui |
| 64 | + * @param string $folder |
|
| 64 | 65 | */ |
| 65 | 66 | public function importFromFolder($folder) |
| 66 | 67 | { |
@@ -74,6 +75,10 @@ discard block |
||
| 74 | 75 | // $collections = (new FastExcel) |
| 75 | 76 | ->import( |
| 76 | 77 | storage_path('app/'.$file), |
| 78 | + |
|
| 79 | + /** |
|
| 80 | + * @param string $line |
|
| 81 | + */ |
|
| 77 | 82 | function ($line) use ($fileName, $assuntosDaPasta) { |
| 78 | 83 | $modelClass = RespectiveModel::run( |
| 79 | 84 | $assuntosDaPasta, |
@@ -314,7 +314,7 @@ |
||
| 314 | 314 | * Get argument value from user informed arguments. |
| 315 | 315 | * |
| 316 | 316 | * @param string $name argument name. |
| 317 | - * @return Mixed argument value. |
|
| 317 | + * @return string argument value. |
|
| 318 | 318 | */ |
| 319 | 319 | protected function getArgumentValue($name) |
| 320 | 320 | { |
@@ -40,6 +40,9 @@ |
||
| 40 | 40 | return $this->parent; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param boolean $parent |
|
| 45 | + */ |
|
| 43 | 46 | public function setParent($parent) |
| 44 | 47 | { |
| 45 | 48 | $this->parent = $parent; |
@@ -25,6 +25,9 @@ discard block |
||
| 25 | 25 | return $this->userName; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $targets |
|
| 30 | + */ |
|
| 28 | 31 | public function prepare($targets) |
| 29 | 32 | { |
| 30 | 33 | if (is_string($targets)) { |
@@ -35,6 +38,11 @@ discard block |
||
| 35 | 38 | return $this; |
| 36 | 39 | } |
| 37 | 40 | |
| 41 | + /** |
|
| 42 | + * @param boolean $cache |
|
| 43 | + * |
|
| 44 | + * @return string |
|
| 45 | + */ |
|
| 38 | 46 | private function getCache($cache) |
| 39 | 47 | { |
| 40 | 48 | |