upgraded dependencies
This commit is contained in:
18
vendor/symfony/yaml/Exception/ParseException.php
vendored
18
vendor/symfony/yaml/Exception/ParseException.php
vendored
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user