Skip to content

Commit

Permalink
Remove redundant phpdoc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Aug 3, 2024
1 parent 83d0ac3 commit 576642f
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions src/Parser/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,8 @@ class Status
public const PHVOLT_PARSING_FAILED = 0;
public const PHVOLT_PARSING_OK = 1;

/**
* @var string|null
*/
protected ?string $syntaxError = null;
/**
* @var Token|null
*/

protected ?Token $token = null;

public function __construct(
Expand All @@ -36,67 +31,40 @@ public function __construct(
) {
}

/**
* @return State
*/
public function getState(): State
{
return $this->scannerState;
}

/**
* @return int
*/
public function getStatus(): int
{
return $this->status;
}

/**
* @return string|null
*/
public function getSyntaxError(): ?string
{
return $this->syntaxError;
}

/**
* @return Token|null
*/
public function getToken(): ?Token
{
return $this->token;
}

/**
* @param int $status
*
* @return $this
*/
public function setStatus(int $status): self
{
$this->status = $status;

return $this;
}

/**
* @param string $syntaxError
*
* @return $this
*/
public function setSyntaxError(string $syntaxError): self
{
$this->syntaxError = $syntaxError;

return $this;
}

/**
* @param Token $token
*
* @return $this
*/
public function setToken(Token $token): self
{
$this->token = $token;
Expand Down

0 comments on commit 576642f

Please sign in to comment.