@@ -248,7 +248,7 @@ |
||
| 248 | 248 | |
| 249 | 249 | /** |
| 250 | 250 | * Return uid from user |
| 251 | - * @return string |
|
| 251 | + * @return integer |
|
| 252 | 252 | */ |
| 253 | 253 | protected function uid() |
| 254 | 254 | { |
@@ -236,8 +236,8 @@ discard block |
||
| 236 | 236 | . $this->uid() |
| 237 | 237 | .'/' |
| 238 | 238 | . $this->certificate->getCnpj() |
| 239 | - . '/' ; |
|
| 240 | - $folderRealPath = sys_get_temp_dir().$path; |
|
| 239 | + . '/'; |
|
| 240 | + $folderRealPath = sys_get_temp_dir() . $path; |
|
| 241 | 241 | } |
| 242 | 242 | if (substr($folderRealPath, -1) !== '/') { |
| 243 | 243 | $folderRealPath .= '/'; |
@@ -526,7 +526,7 @@ discard block |
||
| 526 | 526 | if (!$this->filesystem->has($name)) { |
| 527 | 527 | return $name; |
| 528 | 528 | } |
| 529 | - $this->randomName($n+5); |
|
| 529 | + $this->randomName($n + 5); |
|
| 530 | 530 | } |
| 531 | 531 | |
| 532 | 532 | /** |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | //remove todos os arquivos antigos |
| 546 | 546 | $contents = $this->filesystem->listContents($this->certsdir, true); |
| 547 | 547 | $dt = new \DateTime(); |
| 548 | - $tint = new \DateInterval("PT".$this->waitingTime."M"); |
|
| 548 | + $tint = new \DateInterval("PT" . $this->waitingTime . "M"); |
|
| 549 | 549 | $tint->invert = 1; |
| 550 | 550 | $tsLimit = $dt->add($tint)->getTimestamp(); |
| 551 | 551 | foreach ($contents as $item) { |