upgraded dependencies

This commit is contained in:
RafficMohammed
2023-01-08 01:59:16 +05:30
parent 51056e3aad
commit f9ae387337
6895 changed files with 133617 additions and 178680 deletions

View File

@@ -44,7 +44,7 @@ class ParseException extends RuntimeException
/**
* Gets the snippet of code near the error.
*
* @return string The snippet of code
* @return string
*/
public function getSnippet()
{
@@ -53,10 +53,8 @@ class ParseException extends RuntimeException
/**
* Sets the snippet of code near the error.
*
* @param string $snippet The code snippet
*/
public function setSnippet($snippet)
public function setSnippet(string $snippet)
{
$this->snippet = $snippet;
@@ -68,7 +66,7 @@ class ParseException extends RuntimeException
*
* This method returns null if a string is parsed.
*
* @return string The filename
* @return string
*/
public function getParsedFile()
{
@@ -77,10 +75,8 @@ class ParseException extends RuntimeException
/**
* Sets the filename where the error occurred.
*
* @param string $parsedFile The filename
*/
public function setParsedFile($parsedFile)
public function setParsedFile(string $parsedFile)
{
$this->parsedFile = $parsedFile;
@@ -90,7 +86,7 @@ class ParseException extends RuntimeException
/**
* Gets the line where the error occurred.
*
* @return int The file line
* @return int
*/
public function getParsedLine()
{
@@ -99,10 +95,8 @@ class ParseException extends RuntimeException
/**
* Sets the line where the error occurred.
*
* @param int $parsedLine The file line
*/
public function setParsedLine($parsedLine)
public function setParsedLine(int $parsedLine)
{
$this->parsedLine = $parsedLine;