Skip to content

Commit

Permalink
Interface ajuste
Browse files Browse the repository at this point in the history
  • Loading branch information
paseto committed Jan 27, 2019
1 parent effdeec commit 2d7ec68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Senig.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Senig extends Base implements SenigInterface
{
public function enviaXML($xml, $CNPJ)
public function enviaXML(string $xml, string $CNPJ)
{
// TODO: Implement enviaXML() method.
}
Expand All @@ -22,22 +22,23 @@ public function enviaXMLRet(string $xml, string $CNPJ, string $numCTe): bool
return $this->send($std);
}

public function enviaManifesto($xml, $CNPJ)
public function enviaManifesto(string $xml, string $CNPJ)
{
// TODO: Implement enviaManifesto() method.
}

public function enviaModelo($xml, $CNPJ)
public function enviaModelo(string $xml, string $CNPJ)
{
// TODO: Implement enviaModelo() method.
}

public function enviaXMLCANRet($xml, $CNPJ, $numCTe)
public function enviaXMLCANRet(string $xml, string $CNPJ, string $numCTe)
{
// TODO: Implement enviaXMLCANRet() method.
}



/**
* @param \stdClass $stdClass
* @return bool
Expand Down
1 change: 1 addition & 0 deletions src/SenigInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ interface SenigInterface
public function enviaXML(string $xml, string $CNPJ);

/**
* Send doc and get protocol
* @param string $xml File
* @param string $CNPJ Doc
* @param string $numCTe
Expand Down

0 comments on commit 2d7ec68

Please sign in to comment.