projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Error.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/Error.php
b/vendor/nikic/php-parser/lib/PhpParser/Error.php
index cedb41244fafebe3dbf21c413574c57460147731..d1fb959d19f1543402a24c8f5146ae8f4de4d4b3 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/Error.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/Error.php
@@
-15,7
+15,7
@@
class Error extends \RuntimeException
* (or start line of error -- deprecated)
*/
public function __construct(string $message, $attributes = []) {
* (or start line of error -- deprecated)
*/
public function __construct(string $message, $attributes = []) {
- $this->rawMessage =
(string)
$message;
+ $this->rawMessage = $message;
if (is_array($attributes)) {
$this->attributes = $attributes;
} else {
if (is_array($attributes)) {
$this->attributes = $attributes;
} else {
@@
-76,7
+76,7
@@
class Error extends \RuntimeException
* @param string $message Error message
*/
public function setRawMessage(string $message) {
* @param string $message Error message
*/
public function setRawMessage(string $message) {
- $this->rawMessage =
(string)
$message;
+ $this->rawMessage = $message;
$this->updateMessage();
}
$this->updateMessage();
}
@@
-86,7
+86,7
@@
class Error extends \RuntimeException
* @param int $line Error start line
*/
public function setStartLine(int $line) {
* @param int $line Error start line
*/
public function setStartLine(int $line) {
- $this->attributes['startLine'] =
(int)
$line;
+ $this->attributes['startLine'] = $line;
$this->updateMessage();
}
$this->updateMessage();
}