@@ -373,9 +373,9 @@ discard block |
||
373 | 373 | ); |
374 | 374 | } |
375 | 375 | $this->certsdir = $this->certificate->getCnpj() . '/certs/'; |
376 | - $this->prifile = $this->certsdir. Strings::randomString(10).'.pem'; |
|
377 | - $this->pubfile = $this->certsdir . Strings::randomString(10).'.pem'; |
|
378 | - $this->certfile = $this->certsdir . Strings::randomString(10).'.pem'; |
|
376 | + $this->prifile = $this->certsdir . Strings::randomString(10) . '.pem'; |
|
377 | + $this->pubfile = $this->certsdir . Strings::randomString(10) . '.pem'; |
|
378 | + $this->certfile = $this->certsdir . Strings::randomString(10) . '.pem'; |
|
379 | 379 | $ret = true; |
380 | 380 | //cria uma senha temporária ALEATÓRIA para salvar a chave primaria |
381 | 381 | //portanto mesmo que localizada e identificada não estará acessível |
@@ -396,7 +396,7 @@ discard block |
||
396 | 396 | ); |
397 | 397 | $ret &= $this->filesystem->put( |
398 | 398 | $this->certfile, |
399 | - $this->certificate->privateKey.$this->certificate->publicKey |
|
399 | + $this->certificate->privateKey . $this->certificate->publicKey |
|
400 | 400 | ); |
401 | 401 | if (!$ret) { |
402 | 402 | throw new RuntimeException( |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | //utilize a API. Outra solução para remover arquivos "perdidos" pode ser |
423 | 423 | //encontrada oportunamente. |
424 | 424 | $dt = new \DateTime(); |
425 | - $tint = new \DateInterval("PT".$this->waitingTime."M"); |
|
425 | + $tint = new \DateInterval("PT" . $this->waitingTime . "M"); |
|
426 | 426 | $tint->invert = true; |
427 | 427 | $tsLimit = $dt->add($tint)->getTimestamp(); |
428 | 428 | foreach ($contents as $item) { |