Skip to content

Commit

Permalink
UPDATE
Browse files Browse the repository at this point in the history
	- Removendo funcionalidade de gravar log e renderizar template
  • Loading branch information
Tayon Miranda committed Jun 9, 2017
1 parent fe1b652 commit 48303e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ElementNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class ElementNotFoundException extends Exception
*/
public function __construct($elemento, $message = null)
{
parent::__construct($this->formatMessage($elemento, $message), 0, null);
parent::__construct($this->formatMessage($elemento, $message));
}

/**
Expand Down
3 changes: 1 addition & 2 deletions Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ class Exception extends \Exception
* Recebe os parametos a serem disparados na exceção
*
* @param string $message Mensagem personalizada de erro
* @param string $trace Ativa ou desativa a exibiçaõ de trance do erro
*
* @return void
*/
public function __construct($message, $trace = true)
public function __construct($message)
{
parent::__construct($message, 0, null);
}
Expand Down

0 comments on commit 48303e7

Please sign in to comment.